SettingsSectionSendGift.fromJson constructor

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

Parses a SettingsSectionSendGift from TDLib JSON.

Implementation

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