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