OutputPath.fromYaml constructor
OutputPath.fromYaml(
- dynamic yaml
Implementation
factory OutputPath.fromYaml(dynamic yaml) {
return OutputPath(
apiClient: yaml != null ? yaml['api_client'] : null,
loggerInterceptor: yaml != null ? yaml['logger_interceptor'] : null,
assetsUtils: yaml != null ? yaml['assets_utils'] : null,
fcmService: yaml != null ? yaml['fcm_service'] : null,
refreshToken: yaml != null ? yaml['refresh_token'] : null,
appStorageService: yaml != null ? yaml['app_storage_service'] : null,
sqfliteService: yaml != null ? yaml['sqflite_service'] : null,
paginationService: yaml != null ? yaml['pagination_service'] : null,
theme: yaml != null ? yaml['theme'] : null,
translationKeys: yaml != null ? yaml['translation_keys'] : null,
translations: yaml?['translations'] != null ? TranslationSystem.fromYaml(yaml['translations']) : null,
);
}