instance property

BillpocketPlatform get instance

The default instance of BillpocketPlatform to use.

Defaults to MethodChannelFlutterBillpocket.

Implementation

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

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

Implementation

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