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