SuggestedPostPriceStar.fromJson constructor

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

Parses a SuggestedPostPriceStar from TDLib JSON.

Implementation

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