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