UpdateRequest.fromJson constructor

UpdateRequest.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory UpdateRequest.fromJson(Map<String, Object?> json) => UpdateRequest(
      label: json["label"] == null ? null : json["label"] as String,
      about: json["about"] == null ? null : json["about"] as String,
      priceId: json["price_id"] as String,
    );