instance property

The default instance of BenefitPayFlutterPlatform to use.

Defaults to MethodChannelBenefitPayFlutter.

Implementation

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

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

Implementation

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