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