instance property

The default instance of BlueprintFlutterPlatform to use.

Defaults to MethodChannelBlueprintFlutter.

Implementation

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

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

Implementation

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