instance property
AppRemarkPlatformInterface
get
instance
The current instance of AppRemarkPlatformInterface.
This is typically a concrete implementation such as AppRemarkMethodChannel.
Implementation
static AppRemarkPlatformInterface get instance => _instance;
set
instance
(AppRemarkPlatformInterface instance)
Sets the AppRemarkPlatformInterface instance.
This is used to assign a custom implementation of AppRemarkPlatformInterface, typically used for testing or for providing a different platform-specific implementation.
Implementation
static set instance(AppRemarkPlatformInterface instance) {
PlatformInterface.verifyToken(instance, _token);
_instance = instance;
}