toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() {
  final address = this.address;
  final endDate = this.endDate;
  final latitude = this.latitude;
  final longitude = this.longitude;
  final name = this.name;
  final notes = this.notes;
  final pollingHours = this.pollingHours;
  final sources = this.sources;
  final startDate = this.startDate;
  final voterServices = this.voterServices;
  return {
    'address': ?address,
    'endDate': ?endDate,
    'latitude': ?latitude,
    'longitude': ?longitude,
    'name': ?name,
    'notes': ?notes,
    'pollingHours': ?pollingHours,
    'sources': ?sources,
    'startDate': ?startDate,
    'voterServices': ?voterServices,
  };
}