SectorExposure.fromJson(Map<String, dynamic> json) { weightPercentage = json['weightPercentage']?.toDouble(); sector = json['sector']; }