toJson method
Implementation
core.Map<core.String, core.dynamic> toJson() => {
if (address != null) 'address': address!,
if (endDate != null) 'endDate': endDate!,
if (latitude != null) 'latitude': latitude!,
if (longitude != null) 'longitude': longitude!,
if (name != null) 'name': name!,
if (notes != null) 'notes': notes!,
if (pollingHours != null) 'pollingHours': pollingHours!,
if (sources != null) 'sources': sources!,
if (startDate != null) 'startDate': startDate!,
if (voterServices != null) 'voterServices': voterServices!,
};