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