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