instance property

The default instance of FlutterMongoStitchPlatform to use.

Defaults to MethodChannelFlutterMongoStitch.

Implementation

static FlutterMongoStitchPlatform get instance => _instance;
void instance=(FlutterMongoStitchPlatform instance)

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

Implementation

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