CreateOrderBody.fromJson constructor
Implementation
factory CreateOrderBody.fromJson(Map<String, dynamic> json) =>
CreateOrderBody(
amount: json["amount"] ?? null,
buyerEmail: json["buyer_email"] ?? null,
buyerName: json["buyer_name"] ?? null,
buyerPhone: json["buyer_phone"] ?? null,
description: json["description"] ?? "",
);