instance property

PacketIosSdkPlatform get instance

The default instance of PacketIosSdkPlatform to use.

Defaults to MethodChannelPacketIosSdk.

Implementation

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

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

Implementation

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