instance property

FlutterNosPlatform get instance

The default instance of FlutterNosPlatform to use.

Defaults to MethodChannelFlutterNos.

Implementation

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

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

Implementation

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