Meta.fromJson constructor

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

Implementation

factory Meta.fromJson(Map<String, dynamic> json) => Meta(
      id: json["id"],
      object: json["object"],
      currency: json["currency"],
      customerDetails: json["customer_details"] != null
          ? CustomerDetails.fromJson(json["customer_details"])
          : null,
    );