State

public struct State : Codable, Equatable

Struct representing a state of a country.

  • The name of the state.

    Declaration

    Swift

    public var label: String
  • The code for the name of the state.

    Declaration

    Swift

    public var code: String
  • Undocumented

    Declaration

    Swift

    public init(label: String, code: String)
  • Declaration

    Swift

    public init(from decoder: Decoder) throws