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