showNotification method

  1. @override
Future<void> showNotification(
  1. Map<String, dynamic> body,
  2. String icon
)
override

Implementation

@override
Future<void> showNotification(Map<String, dynamic> body, String icon) async {
  await methodChannel.invokeMethod('showNotification', {
    'body': body,
    'icon': icon,
  });
}