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