instance property

The default instance of BudpayInlineFlutterPlatform to use.

Defaults to MethodChannelBudpayInlineFlutter.

Implementation

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

Sets the default instance of BudpayInlineFlutterPlatform.

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

Implementation

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