CountryRepo constructor

CountryRepo([
  1. MyAppApi? api
])

Implementation

factory CountryRepo([MyAppApi? api]) {
  _instance ??= CountryRepo._();
  _instance!._api = api ?? MyAppApiImp();
  return _instance!;
}