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