title: There's some error on my Flutter Local Notification
body: <p>I need help, there's an error when calling Local Notification.</p>
  
  <p>For the initState :</p>
  
  <pre><code>initState() {
      super.initState();
      flutterLocalNotificationsPlugin = new FlutterLocalNotificationsPlugin();
      // initialise the plugin. app_icon needs to be a added as a drawable resource to the Android head project
      var initializationSettingsAndroid =
          new AndroidInitializationSettings('app_icon');
      var initializationSettingsIOS = new IOSInitializationSettings();
      var initializationSettings = new InitializationSettings(
          initializationSettingsAndroid, initializationSettingsIOS);
      FlutterLocalNotificationsPlugin().initialize(initializationSettings, onSelectNotification: onSelectNotification);
    }
  </code></pre>
  
  <p>For the function :</p>
  
  <pre><code>showNotification() async {
      var android = new AndroidNotificationDetails('Channel ID', 'Channel Name', 'channelDescription');
      var iOS = new IOSNotificationDetails();
      var platform = new NotificationDetails(android, iOS);
      await flutterLocalNotificationsPlugin.show(
        0, 'New Notification', 'Flutter Local Notif', platform,payload: 'test notification');
    }
  </code></pre>
  
  <blockquote>
    <p>The error is "PlatformException (PlatformException(error, Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference, null))"</p>
  </blockquote>
  
  <p>I've already tried on the documentation and also youtube, but I always get this error message</p>