ApprovalDecisionRequestDTO.fromJson constructor

ApprovalDecisionRequestDTO.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory ApprovalDecisionRequestDTO.fromJson(Map<String, Object?> json) {
  return ApprovalDecisionRequestDTO(
    decision: json[r'decision'] != null
        ? ApprovalDecisionRequestDTODecision.fromValue(
            json[r'decision']! as String)
        : null,
  );
}