instance property
FlutterMongoStitchPlatform
instance
The default instance of FlutterMongoStitchPlatform to use.
Defaults to MethodChannelFlutterMongoStitch
.
Implementation
static FlutterMongoStitchPlatform get instance => _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;
}