DataPointEntryField.from(Map<String, dynamic> json) : name = json['name'], format = DataPointEntryFieldFormat.from(json['value']), isOptional = json['isOptional'];