Ticker.fromMap constructor

Ticker.fromMap(
  1. Map<String, dynamic> map
)

Implementation

factory Ticker.fromMap(Map<String, dynamic> map) {
  return Ticker(
    map['market'],
    map['trade_date'],
    map['trade_time'],
    map['trade_date_kst'],
    map['trade_time_kst'],
    map['opening_price'],
    map['high_price'],
    map['low_price'],
    map['trade_price'],
    map['prev_closing_price'],
    map['change'],
    map['change_price'],
    map['change_rate'],
    map['signed_change_price'],
    map['signed_change_rate'],
    map['trade_volume'],
    map['acc_trade_price'],
    map['acc_trade_price_24h'],
    map['acc_trade_volume'],
    map['acc_trade_volume_24h'],
    map['highest_52_week_price'],
    map['highest_52_week_date'],
    map['lowest_52_week_price'],
    map['lowest_52_week_date'],
    map['timestamp'],
  );
}