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