CustomerData.fromJson constructor

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

Implementation

factory CustomerData.fromJson(Map<String, dynamic> json) => CustomerData(
      id: json["id"],
      name: json["name"],
      defaultPaymentMethod: json["default_payment_method"],
      description: json["description"],
      email: json["email"],
      invoicePrefix: json["invoice_prefix"],
      createdAt: json["created_at"],
      businessVatId: json["business_vat_id"],
      ewallet: json["ewallet"],
    );