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