toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final countryCode = this.countryCode;
  final id = this.id;
  final locationType = this.locationType;
  final name = this.name;
  final parentCountryId = this.parentCountryId;
  return {
    'countryCode': ?countryCode,
    'id': ?id,
    'locationType': ?locationType,
    'name': ?name,
    'parentCountryId': ?parentCountryId,
  };
}