SectorExposure.fromJson constructor

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

Implementation

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