TransactionData.fromJson constructor
Implementation
factory TransactionData.fromJson(Map<String, dynamic> json) =>
TransactionData(
time: json['time'] as String,
price: (json['price'] as num).toDouble(),
vol: (json['vol'] as num).toDouble(),
amount: (json['amount'] as num).toDouble(),
buySell: json['buy_sell'] as int,
);