AnomalyInstance.fromJson constructor
Implementation
factory AnomalyInstance.fromJson(Map<String, dynamic> json) {
return AnomalyInstance(
id: json['id'] as String,
startTime: nonNullableTimeStampFromJson(json['startTime'] as Object),
endTime: timeStampFromJson(json['endTime']),
userFeedback: json['userFeedback'] != null
? UserFeedback.fromJson(json['userFeedback'] as Map<String, dynamic>)
: null,
);
}