Result

public struct Result : Codable, Equatable

Struct representing Poll Result related values.

  • Label of poll result.

    Declaration

    Swift

    public var label: String
  • Percentage of poll result.

    Declaration

    Swift

    public var percentage: Float
  • Total of poll result.

    Declaration

    Swift

    public var total: Int
  • Highlight of poll result.

    Declaration

    Swift

    public var highlight: Bool
  • Undocumented

    Declaration

    Swift

    public init(label: String, percentage: Float, total: Int, highlight: Bool)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws