markRead method

Future<void> markRead(
  1. String messageId
)

Marks a specific inbox message as read.

messageId The unique identifier of the message to be marked as read. Returns a Future that completes when the operation is finished.

Implementation

Future<void> markRead(String messageId) async {
  return await _module.channel
      .invokeMethod('messageCenter#markMessageRead', messageId);
}