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