InputChatThemeGift.fromJson constructor

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

Parses a InputChatThemeGift from TDLib JSON.

Implementation

factory InputChatThemeGift.fromJson(Map<String, dynamic> json) =>
    InputChatThemeGift(name: _readString(json['name']));