GiveawayParticipantStatusDisallowedCountry.fromJson constructor

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

Parses a GiveawayParticipantStatusDisallowedCountry from TDLib JSON.

Implementation

factory GiveawayParticipantStatusDisallowedCountry.fromJson(
  Map<String, dynamic> json,
) => GiveawayParticipantStatusDisallowedCountry(
  userCountryCode: _readString(json['user_country_code']),
);