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