toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (electionAdministrationBody != null)
        'electionAdministrationBody': electionAdministrationBody!,
      if (localJurisdiction != null) 'local_jurisdiction': localJurisdiction!,
      if (name != null) 'name': name!,
      if (sources != null) 'sources': sources!,
    };