toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final Map<String, dynamic> data = new Map<String, dynamic>();
  data['time'] = this.time;
  data['open'] = this.open;
  data['close'] = this.close;
  data['high'] = this.high;
  data['low'] = this.low;
  data['vol'] = this.vol;
  data['amount'] = this.amount;
  data['ratio'] = this.ratio;
  data['change'] = this.change;
  return data;
}