Dividends.fromJson constructor
Implementation
Dividends.fromJson(Map<String, dynamic> json) {
if (json['data'] != null) {
data = <DividendData>[];
json['data'].forEach((v) {
data!.add(DividendData.fromJson(v));
});
}
symbol = json['symbol'];
}