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