instance property

Test02PackagePlatform get instance

The default instance of Test02PackagePlatform to use.

Defaults to MethodChannelTest02Package.

Implementation

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

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

Implementation

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