instance property

The default instance of FlutterDemoCreatePlatform to use.

Defaults to MethodChannelFlutterDemoCreate.

Implementation

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

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

Implementation

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