LabeledPricePart.fromJson constructor

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

Parse from a json

Implementation

factory LabeledPricePart.fromJson(Map<String, dynamic> json) =>
    LabeledPricePart(
      label: json['label'],
      amount: json['amount'],
    );