listen abstract method
Future<RemoteNotificationListenResponse?>
listen({
- required Future<
void> onMessage(- NotificationValue value
- required Future<
void> onMessageOpenedApp(- NotificationValue value
Initialize push notifications.
Push通知の初期化。
Implementation
Future<RemoteNotificationListenResponse?> listen({
required Future<void> Function(NotificationValue value) onMessage,
required Future<void> Function(NotificationValue value) onMessageOpenedApp,
});