OnRampProvider.fromJson constructor
Parses a OnRampProvider from TDLib JSON.
Implementation
factory OnRampProvider.fromJson(Map<String, dynamic> json) => OnRampProvider(
id: _readString(json['id']),
name: _readString(json['name']),
cryptocurrencies: _readList<String>(json['cryptocurrencies'], _readString),
supportsBaseCurrencies: _readBool(json['supports_base_currencies']),
supportsLimits: _readBool(json['supports_limits']),
supportsQuote: _readBool(json['supports_quote']),
);