instance property

Hello5Platform get instance

The default instance of Hello5Platform to use.

Defaults to MethodChannelHello5.

Implementation

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

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

Implementation

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