instance property

The default instance of HyChannelInfoPlatform to use.

Defaults to MethodChannelHyChannelInfo.

Implementation

static HyChannelInfoPlatform get instance => _instance;
void instance=(HyChannelInfoPlatform instance)

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

Implementation

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