GiftResalePriceGram.fromJson constructor

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

Parses a GiftResalePriceGram from TDLib JSON.

Implementation

factory GiftResalePriceGram.fromJson(Map<String, dynamic> json) =>
    GiftResalePriceGram(gramCentCount: _readInt(json['gram_cent_count']));