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