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