Data.fromJson constructor

Data.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory Data.fromJson(Map<String, dynamic> json) => Data(
      id: json["id"],
      status: json["status"],
      language: json["language"],
      payment: PaymentData.fromJson(json["payment"]),
      customer: json["customer"],
      timestamp: json["timestamp"],
    );