CustomerRequestActionDTO.fromJson constructor

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

Implementation

factory CustomerRequestActionDTO.fromJson(Map<String, Object?> json) {
  return CustomerRequestActionDTO(
    allowed: json[r'allowed'] as bool? ?? false,
  );
}