IpoCalendar.fromJson constructor

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

Implementation

factory IpoCalendar.fromJson(Map<String, dynamic> json) => IpoCalendar(
      symbol: json["symbol"],
      price: json["price"],
      numberOfShares: json["numberOfShares"],
      totalSharesValue: json["totalSharesValue"]?.toDouble(),
      name: json["name"],
      exchange: json["exchange"],
      actions: json["actions"],
      date: json["date"] == null ? null : DateTime.parse(json["date"]),
    );