instance property

InfoGetterPlatform get instance

The default instance of InfoGetterPlatform to use.

Defaults to MethodChannelInfoGetter.

Implementation

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

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

Implementation

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