instance property

The default instance of FnmobiFlutterSdkPlatform to use.

Defaults to MethodChannelFnmobiFlutterSdk.

Implementation

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

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

Implementation

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