getInstance static method
Implementation
static ChatRepository? getInstance() {
if (_singleton == null) {
throw SpinachUnInitializedException(
"LocationRepository is not properly initialized");
}
return _singleton;
}
static ChatRepository? getInstance() {
if (_singleton == null) {
throw SpinachUnInitializedException(
"LocationRepository is not properly initialized");
}
return _singleton;
}