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