Income.fromJson constructor

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

Implementation

Income.fromJson(Map<String, dynamic> json) {
  if (json['financials'] != null) {
    incomeData = <IncomeData>[];
    json['financials'].forEach((v) {
      incomeData!.add(IncomeData.fromJson(v));
    });
  }
  symbol = json['symbol'];
}