Source.fromJson constructor
Source.fromJson(
- Map _json
Implementation
Source.fromJson(core.Map _json)
: this(
repoSource: _json.containsKey('repoSource')
? RepoSource.fromJson(
_json['repoSource'] as core.Map<core.String, core.dynamic>)
: null,
storageSource: _json.containsKey('storageSource')
? StorageSource.fromJson(
_json['storageSource'] as core.Map<core.String, core.dynamic>)
: null,
);