CancelRequest.fromJson constructor
Implementation
factory CancelRequest.fromJson(Map<String, Object?> json) => CancelRequest(
reason: json["reason"] == null ? null : json["reason"] as String,
executeRefund: json["execute_refund"] == null
? null
: json["execute_refund"] as bool,
orderId: json["order_id"] as String,
);