PlatformRepo constructor
PlatformRepo([
- MyAppApi? api
Implementation
factory PlatformRepo([MyAppApi? api]) {
_instance ??= PlatformRepo._();
_instance!._api = api ?? MyAppApiImp();
return _instance!;
}