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