instance property

VincentHelloPlatform get instance

The default instance of VincentHelloPlatform to use.

Defaults to MethodChannelVincentHello.

Implementation

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

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

Implementation

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