instance property
ConnectivityPlatform
get
instance
Implementation
static ConnectivityPlatform get instance => _instance;
set
instance
(ConnectivityPlatform instance)
Implementation
static set instance(ConnectivityPlatform instance) {
// Verify the token to ensure the instance is valid for this class.
PlatformInterface.verifyToken(instance, _token);
// Set the instance to the provided implementation.
_instance = instance;
}