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