PlatformRepo constructor

PlatformRepo([
  1. AppApi? api
])

Implementation

factory PlatformRepo([AppApi? api]) {
  _instance ??= PlatformRepo._();
  _instance!._api = api ?? AppApiImp();
  return _instance!;
}