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