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