DividendData.fromJson constructor
Implementation
DividendData.fromJson(Map<String, dynamic> json) {
date = DateTime.parse(json["date"]);
recordDate = json['recordDate'];
amount = json['amount']?.toDouble();
declarationDate = json['declarationDate'];
adjustedAmount = json['adjustedAmount']?.toDouble();
payDate = json['payDate'];
}