Poll

public struct Poll : Codable, Equatable

Struct representing Poll related values.

  • Question of poll.

    Declaration

    Swift

    public var question: String
  • Results of poll.

    Declaration

    Swift

    public var results: [Poll.Result]
  • Highest percentage of poll.

    Declaration

    Swift

    public var highestPercentage: Float
  • Undocumented

    Declaration

    Swift

    public init(question: String, results: [Poll.Result], highestPercentage: Float)
  • Struct representing Poll Result related values.

    See more

    Declaration

    Swift

    public struct Result : Codable, Equatable
  • Declaration

    Swift

    public init(from decoder: Decoder) throws