handleNotificationClick method

  1. @override
Future<bool> handleNotificationClick(
  1. Map<String, dynamic> userInfo
)
override

Implementation

@override
Future<bool> handleNotificationClick(Map<String, dynamic> userInfo) async {
  try {
    final handled = await methodChannel.invokeMethod<bool>(
      'handleNotificationClick',
      userInfo,
    );
    return handled ?? false;
  } on PlatformException {
    rethrow;
  } catch (e) {
    throw mapNativeError(e);
  }
}