toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "symbol": symbol,
      "name": name,
      "category": category,
      "close": close,
      "priceChange": priceChange,
    };