showNotification method

Future<void> showNotification(
  1. String body,
  2. String msgId,
  3. String url,
  4. String userName,
)

Implementation

Future<void> showNotification(
  String body,
  String msgId,
  String url,
  String userName,
) async {
  await methodChannel.invokeMethod('showNotification', {
    'body': body,
    'msgId': msgId,
    'url': url,
    'userName': userName,
  });
}