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