debugSetInstance static method
- HatangChat? instance
Replaces the instance (host tests).
Implementation
@visibleForTesting
static void debugSetInstance(HatangChat? instance) {
_instance?.dispose();
_instance = instance;
}
Replaces the instance (host tests).
@visibleForTesting
static void debugSetInstance(HatangChat? instance) {
_instance?.dispose();
_instance = instance;
}