instance property

CellularInfoPlatform get instance

The default instance of CellularInfoPlatform to use.

Defaults to MethodChannelCellularInfo.

Implementation

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

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

Implementation

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