instance property

The default instance of CoderMatthewsExtensionsPlatform to use.

Defaults to MethodChannelCoderMatthewsExtensions.

Implementation

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

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

Implementation

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