instance property

FlutterCrisePlatform get instance

The default instance of FlutterCrisePlatform to use.

Defaults to MethodChannelFlutterCrise.

Implementation

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

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

Implementation

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