InputProfileShareThemeUpgradedGift.fromJson constructor

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

Parses a InputProfileShareThemeUpgradedGift from TDLib JSON.

Implementation

factory InputProfileShareThemeUpgradedGift.fromJson(
  Map<String, dynamic> json,
) => InputProfileShareThemeUpgradedGift(
  receivedGiftId: _readString(json['received_gift_id']),
);