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