Currencies.fromJson constructor

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

Parses a Currencies from TDLib JSON.

Implementation

factory Currencies.fromJson(Map<String, dynamic> json) => Currencies(
  currencies: _readList<String>(json['currencies'], _readString),
  extra: json['@extra'],
  clientId: _readClientId(json['@client_id']),
);