instance property

DarwinUrlPlatform get instance

The default instance of DarwinUrlPlatform to use.

Defaults to MethodChannelDarwinUrl.

Implementation

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

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

Implementation

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