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