toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  switch (type) {
    case CountryTypeDto.fr:
      return (this as FranceSpecificAttributesDto).toJson();
  }
}