CancelRequest.fromJson constructor

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

Implementation

factory CancelRequest.fromJson(Map<String, Object?> json) => CancelRequest(
      canceledBy: json["canceled_by"] == null
          ? null
          : inttegro_file.ActorInput.fromJson(
              (json["canceled_by"] as Map).cast<String, Object?>(),
            ),
      id: json["id"] as String,
    );