postNotification<T> method
Implementation
Future<T?> postNotification<T>(ChannelNotificationEvent event) {
if (event.module.isEmpty || event.action.isEmpty) return Future.value(null);
final method = '${ChannelBridge.packageName}'
'.${event.module}'
'.${event.action}';
return ChannelBridge.notificationChannel.invokeMethod(
method,
event.arguments,
);
}