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