LanguagePackStringValuePluralized.fromJson constructor

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

Parses a LanguagePackStringValuePluralized from TDLib JSON.

Implementation

factory LanguagePackStringValuePluralized.fromJson(
  Map<String, dynamic> json,
) => LanguagePackStringValuePluralized(
  zeroValue: _readString(json['zero_value']),
  oneValue: _readString(json['one_value']),
  twoValue: _readString(json['two_value']),
  fewValue: _readString(json['few_value']),
  manyValue: _readString(json['many_value']),
  otherValue: _readString(json['other_value']),
  extra: json['@extra'],
  clientId: _readClientId(json['@client_id']),
);