instance property
BonsoirPlatformInterface
instance
Getter for better control.
Implementation
static BonsoirPlatformInterface get instance => _instance;
This function checks if the instance passed is extending this class.
Implementation
static set instance(BonsoirPlatformInterface instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}