instance property
StripePlatform
instance
The default instance of StripePlatform to use.
Defaults to MethodChannelStripe
.
Implementation
static StripePlatform get instance => _instance;
Platform-specific plugins should set this with their own platform-specific class that extends StripePlatform when they register themselves.
Implementation
static set instance(StripePlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}