OnlineContext.fromJson constructor
OnlineContext.fromJson(
- Map<String, dynamic> json
)
Implementation
OnlineContext.fromJson(Map<String, dynamic> json) {
folderUid = json['folderUid'];
taskUid = json['taskUid'];
documentUid = json['documentUid'];
referenceDocUid = json['referenceDocUid'];
referenceTaskUid = json['referenceTaskUid'];
livenessStatus = enumFromString(LivenessStatus.values, json['livenessStatus']);
List<dynamic>? attachmentTaskUids = json['attachmentTaskUids'];
if (attachmentTaskUids != null) {
this.attachmentTaskUids = [];
for (String value in attachmentTaskUids) {
this.attachmentTaskUids?.add(value);
}
}
List<dynamic>? attachmentDocumentUids = json['attachmentDocumentUids'];
if (attachmentDocumentUids != null) {
this.attachmentDocumentUids = [];
for (String value in attachmentDocumentUids) {
this.attachmentDocumentUids?.add(value);
}
}
}