cgc-coder Bunu kullanmak için herhangi bir kısıt yok.
class Binance {
String symbol;
String bidPrice;
String bidQty;
String askPrice;
String askQty;
Binance(
{this.symbol, this.bidPrice, this.bidQty, this.askPrice, this.askQty});
Binance.fromJson(Map<String, dynamic> json) {
symbol = json['symbol'];
bidPrice = json['bidPrice'];
bidQty = json['bidQty'];
askPrice = json['askPrice'];
askQty = json['askQty'];
}
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = new Map<String, dynamic>();
data['symbol'] = this.symbol;
data['bidPrice'] = this.bidPrice;
data['bidQty'] = this.bidQty;
data['askPrice'] = this.askPrice;
data['askQty'] = this.askQty;
return data;
}
}