TradeAggregationResponse.fromJson constructor
TradeAggregationResponse.fromJson(
- Map<String, dynamic> json
)
Implementation
factory TradeAggregationResponse.fromJson(Map<String, dynamic> json) =>
new TradeAggregationResponse(
json['timestamp'],
json['trade_count'],
json['base_volume'],
json['counter_volume'],
json['avg'],
json['high'],
json['low'],
json['open'],
json['close'])
..rateLimitLimit = convertInt(json['rateLimitLimit'])
..rateLimitRemaining = convertInt(json['rateLimitRemaining'])
..rateLimitReset = convertInt(json['rateLimitReset']);