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