displayLastReceivedRemotePushNotification method

  1. @override
Future<void> displayLastReceivedRemotePushNotification({
  1. String? templateId = '',
})
override

Implementation

@override
Future<void> displayLastReceivedRemotePushNotification({String? templateId = ''}) async {
  try {
    await methodChannel.invokeMethod('displayLastReceivedRemotePushNotification', { 'templateId': templateId });
  }
  on PlatformException catch(exception) {
    log.severe('Exception when displaying last received notification: ${exception.message}');
  }
}