instance property

BillingCountryPlatform get instance

The default instance of BillingCountryPlatform to use.

Defaults to MethodChannelBillingCountry.

Implementation

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

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

Implementation

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