Evaluation.fromJson constructor

Evaluation.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Evaluation.fromJson(Map<String, dynamic> json) {
  return Evaluation(
    complianceResourceId: json['ComplianceResourceId'] as String,
    complianceResourceType: json['ComplianceResourceType'] as String,
    complianceType: (json['ComplianceType'] as String).toComplianceType(),
    orderingTimestamp:
        nonNullableTimeStampFromJson(json['OrderingTimestamp'] as Object),
    annotation: json['Annotation'] as String?,
  );
}