toJson method

Map<String, dynamic> toJson()

Implementation

core.Map<core.String, core.dynamic> toJson() => {
      if (electionDay != null) 'electionDay': electionDay!,
      if (id != null) 'id': id!,
      if (name != null) 'name': name!,
      if (ocdDivisionId != null) 'ocdDivisionId': ocdDivisionId!,
      if (shapeLookupBehavior != null)
        'shapeLookupBehavior': shapeLookupBehavior!,
    };