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