instance property

Hello1Platform get instance

The default instance of Hello1Platform to use.

Defaults to MethodChannelHello1.

Implementation

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

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

Implementation

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