instance property

TicketBridgePlatform get instance

The default instance of TicketBridgePlatform to use.

Defaults to MethodChannelTicketBridge.

Implementation

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

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

Implementation

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