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