GiftResalePriceStar.fromJson constructor

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

Parses a GiftResalePriceStar from TDLib JSON.

Implementation

factory GiftResalePriceStar.fromJson(Map<String, dynamic> json) =>
    GiftResalePriceStar(starCount: _readInt(json['star_count']));