instance property
CustomActivityRecognitionPlatform
get
instance
The default instance of CustomActivityRecognitionPlatform to use.
Implementation
static CustomActivityRecognitionPlatform get instance => _instance;
set
instance
(CustomActivityRecognitionPlatform instance)
Provides a way to change instances of this class for tests.
Implementation
static set instance(CustomActivityRecognitionPlatform instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}