EtfCountry.fromJson constructor

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

Implementation

EtfCountry.fromJson(Map<String, dynamic> json) {
  if (json['countryExposure'] != null) {
    countryExposure = <CountryExposure>[];
    json['countryExposure'].forEach((v) {
      countryExposure!.add(CountryExposure.fromJson(v));
    });
  }
  symbol = json['symbol'];
}