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