ProfileShareThemeUpgradedGift.fromJson constructor

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

Parses a ProfileShareThemeUpgradedGift from TDLib JSON.

Implementation

factory ProfileShareThemeUpgradedGift.fromJson(Map<String, dynamic> json) =>
    ProfileShareThemeUpgradedGift(
      gift: _readObject(json['gift'], UpgradedGift.fromJson),
    );