instance property
FlutterMacosPermissionsPlatform
get
instance
The default instance of FlutterMacosPermissionsPlatform to use.
Defaults to MethodChannelFlutterMacosPermissions.
Implementation
static FlutterMacosPermissionsPlatform get instance => _instance;
set
instance
(FlutterMacosPermissionsPlatform instance)
Platform-specific implementations should set this with their own platform-specific class that extends FlutterMacosPermissionsPlatform when they register themselves.
Implementation
static set instance(FlutterMacosPermissionsPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}