ResourceChangeDetail.fromJson constructor

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

Implementation

factory ResourceChangeDetail.fromJson(Map<String, dynamic> json) {
  return ResourceChangeDetail(
    causingEntity: json['CausingEntity'] as String?,
    evaluation: (json['Evaluation'] as String?)?.toEvaluationType(),
    target: json['Target'] != null
        ? ResourceTargetDefinition.fromJson(
            json['Target'] as Map<String, dynamic>)
        : null,
  );
}