instance property

NtbpPluginPlatform get instance

The default instance of NtbpPluginPlatform to use.

Defaults to MethodChannelNtbpPlugin.

Implementation

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

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

Implementation

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