instance property

The default instance of FlutterButtonPluginPlatform to use.

Defaults to MethodChannelFlutterButtonPlugin.

Implementation

static FlutterButtonPluginPlatform get instance => _instance;
set instance (FlutterButtonPluginPlatform instance)

Platform-specific implementations should set this with their own platform-specific class that extends FlutterButtonPluginPlatform when they register themselves.

Implementation

static set instance(FlutterButtonPluginPlatform instance) {
  PlatformInterface.verifyToken(instance, _token);
  _instance = instance;
}