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