HistoricalPrice.fromJson constructor

HistoricalPrice.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory HistoricalPrice.fromJson(Map<String, dynamic> json) =>
    HistoricalPrice(
      day: json["day"]?.toDouble(),
      the50Days: json["50days"]?.toDouble(),
      the200Days: json["200days"]?.toDouble(),
    );