Tick.fromJson constructor

Tick.fromJson(
  1. dynamic json
)

Decode Tick json

Implementation

Tick.fromJson(dynamic json) {
  _mode = json['mode'];
  _tradable = json['tradable'];
  _token = json['token'];
  _lastTradedPrice = json['lastTradedPrice'];
  _highPrice = json['highPrice'];
  _lowPrice = json['lowPrice'];
  _openPrice = json['openPrice'];
  _closePrice = json['closePrice'];
  _change = json['change'];
  _lastTradeQuantity = json['lastTradeQuantity'];
  _averageTradePrice = json['averageTradePrice'];
  _volumeTradedToday = json['volumeTradedToday'];
  _totalBuyQuantity = json['totalBuyQuantity'];
  _totalSellQuantity = json['totalSellQuantity'];
  _lastTradedTime = json['lastTradedTime'];
  _oi = json['oi'];
  _openInterestDayHigh = json['openInterestDayHigh'];
  _openInterestDayLow = json['openInterestDayLow'];
  _tickTimestamp = json['tickTimestamp'];
  _depth = json['depth'];
}