CustomerRequestActionsDTO.fromJson constructor

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

Implementation

factory CustomerRequestActionsDTO.fromJson(Map<String, Object?> json) {
  return CustomerRequestActionsDTO(
    addAttachment: json[r'addAttachment'] != null
        ? CustomerRequestActionDTO.fromJson(
            json[r'addAttachment']! as Map<String, Object?>)
        : null,
    addComment: json[r'addComment'] != null
        ? CustomerRequestActionDTO.fromJson(
            json[r'addComment']! as Map<String, Object?>)
        : null,
    addParticipant: json[r'addParticipant'] != null
        ? CustomerRequestActionDTO.fromJson(
            json[r'addParticipant']! as Map<String, Object?>)
        : null,
    removeParticipant: json[r'removeParticipant'] != null
        ? CustomerRequestActionDTO.fromJson(
            json[r'removeParticipant']! as Map<String, Object?>)
        : null,
  );
}