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