DocumentOccurrence.fromJson constructor
DocumentOccurrence.fromJson(
- Map _json
Implementation
DocumentOccurrence.fromJson(core.Map _json)
: this(
createTime: _json.containsKey('createTime')
? _json['createTime'] as core.String
: null,
creatorComment: _json.containsKey('creatorComment')
? _json['creatorComment'] as core.String
: null,
creators: _json.containsKey('creators')
? (_json['creators'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
documentComment: _json.containsKey('documentComment')
? _json['documentComment'] as core.String
: null,
externalDocumentRefs: _json.containsKey('externalDocumentRefs')
? (_json['externalDocumentRefs'] as core.List)
.map((value) => value as core.String)
.toList()
: null,
id: _json.containsKey('id') ? _json['id'] as core.String : null,
licenseListVersion: _json.containsKey('licenseListVersion')
? _json['licenseListVersion'] as core.String
: null,
namespace: _json.containsKey('namespace')
? _json['namespace'] as core.String
: null,
title:
_json.containsKey('title') ? _json['title'] as core.String : null,
);