Sample<Harmonized>.from constructor
General constructor from JSON payload
Implementation
Sample.from(Map<String, dynamic> json, this.harmonized)
: uuid = json['uuid'],
identifier = json['identifier'],
startTimestamp = parseNum(json['startTimestamp']),
endTimestamp = parseNum(json['endTimestamp']),
device = json['device'] != null
? Device.fromJson(Map<String, dynamic>.from(json['device']))
: null,
sourceRevision = SourceRevision.fromJson(json['sourceRevision']);