HomeRepo constructor
HomeRepo([
- AppApi? api
Implementation
factory HomeRepo([AppApi? api]) {
_instance ??= HomeRepo._();
_instance!._api = api ?? AppApiImp();
return _instance!;
}
factory HomeRepo([AppApi? api]) {
_instance ??= HomeRepo._();
_instance!._api = api ?? AppApiImp();
return _instance!;
}