postNotification method

Future<void> postNotification(
  1. String name,
  2. dynamic sender, [
  3. Map? info
])

Post notification with name

@param name - notification name @param sender - notification sender @param info - extra info

Implementation

Future<void> postNotification(String name, dynamic sender, [Map? info]) async {
  return await post(Notification(name, sender, info));
}