toJson method
Implementation
Map<String, dynamic> toJson() {
final Map<String, dynamic> data = <String, dynamic>{};
data['symbol'] = symbol;
if (sectorExposure != null) {
data['sectorExposure'] = sectorExposure!.map((v) => v.toJson()).toList();
}
return data;
}