markNotificationAsRead method

  1. @override
Future<void> markNotificationAsRead(
  1. String id
)
override

Implementation

@override
Future<void> markNotificationAsRead(String id) async {
  try {
    await methodChannel.invokeMethod<void>('markNotificationAsRead', {'id': id});
  } on PlatformException {
    rethrow;
  } catch (e) {
    throw mapNativeError(e);
  }
}