showMessageCenter method
- String? messageId
Displays the Message Center UI, overriding the auto-launch setting.
This method will show the Message Center regardless of the auto-launch configuration.
messageId
Optional. If provided, opens the Message Center to this specific message.
Returns a Future that completes when the Message Center is displayed.
Implementation
Future<void> showMessageCenter([String? messageId]) {
return _module.channel
.invokeMethod('messageCenter#showMessageCenter', messageId);
}