instance property

EthernetManagerChannel get instance

The default instance of EthernetManagerChannel to use.

Implementation

static EthernetManagerChannel get instance =>
    ArgumentError.checkNotNull(_instance, 'instance');
set instance (EthernetManagerChannel instance)

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

Implementation

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