onMessage method

  1. @override
Future<void> onMessage(
  1. RemoteMessage message
)

Implementation

@override
Future<void> onMessage(RemoteMessage message) async {
  for (final handler in push._onMessageHandlers) {
    await handler(message);
  }
}