display method

Future<void> display([
  1. String? messageId
])

Requests to display the Message Center UI.

messageId Optional. If provided, opens the Message Center to this specific message. Returns a Future that completes when the display request is processed.

Implementation

Future<void> display([String? messageId]) async {
  return await _module.channel
      .invokeMethod('messageCenter#display', messageId);
}