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