IndustrieRating.fromJson constructor

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

Implementation

IndustrieRating.fromJson(Map<String, dynamic> json) {
  symbol = json['symbol'];
  cik = json['cik'];
  companyName = json['companyName'];
  industry = json['industry'];
  year = json['year'];
  eSGRiskRating = json['ESGRiskRating'];
  industryRank = json['industryRank'] != null
      ? IndustryRank.fromJson(json['industryRank'])
      : null;
}