setAutoLaunchDefaultMessageCenter method
- bool enabled
Configures whether the default Message Center UI should automatically launch when requested.
enabled
If true, enables auto-launch; if false, disables it.
Returns a Future that completes when the setting is applied.
Implementation
Future<void> setAutoLaunchDefaultMessageCenter(bool enabled) async {
return await _module.channel
.invokeMethod('messageCenter#setAutoLaunch', enabled);
}