toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final administrationRegionId = this.administrationRegionId;
  final contestId = this.contestId;
  final datasetId = this.datasetId;
  final earlyVoteSiteId = this.earlyVoteSiteId;
  final electoralDistrictId = this.electoralDistrictId;
  final id = this.id;
  final mailOnly = this.mailOnly;
  final name = this.name;
  final number = this.number;
  final ocdId = this.ocdId;
  final pollingLocationId = this.pollingLocationId;
  final spatialBoundaryId = this.spatialBoundaryId;
  final splitName = this.splitName;
  final ward = this.ward;
  return {
    'administrationRegionId': ?administrationRegionId,
    'contestId': ?contestId,
    'datasetId': ?datasetId,
    'earlyVoteSiteId': ?earlyVoteSiteId,
    'electoralDistrictId': ?electoralDistrictId,
    'id': ?id,
    'mailOnly': ?mailOnly,
    'name': ?name,
    'number': ?number,
    'ocdId': ?ocdId,
    'pollingLocationId': ?pollingLocationId,
    'spatialBoundaryId': ?spatialBoundaryId,
    'splitName': ?splitName,
    'ward': ?ward,
  };
}