FileOccurrence.fromJson constructor
FileOccurrence.fromJson(
- Map _json
Implementation
FileOccurrence.fromJson(core.Map _json)
: this(
attributions: _json.containsKey('attributions')
? (_json['attributions'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
comment: _json.containsKey('comment')
? _json['comment'] as core.String
: null,
contributors: _json.containsKey('contributors')
? (_json['contributors'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
copyright: _json.containsKey('copyright')
? _json['copyright'] as core.String
: null,
filesLicenseInfo: _json.containsKey('filesLicenseInfo')
? (_json['filesLicenseInfo'] as core.List)
.map<core.String>((value) => value as core.String)
.toList()
: null,
id: _json.containsKey('id') ? _json['id'] as core.String : null,
licenseComments: _json.containsKey('licenseComments')
? _json['licenseComments'] as core.String
: null,
licenseConcluded: _json.containsKey('licenseConcluded')
? _json['licenseConcluded'] as core.String
: null,
notice: _json.containsKey('notice')
? _json['notice'] as core.String
: null,
);