Metro

public struct Metro : Decodable

Structure holding metro station name, name of a line and distance to suggested address. If there aren’t metro stations nearby or API token used not subscribed to “Maximal” package nil is returned instead.

  • Undocumented

    Declaration

    Swift

    public let name: String?
  • Undocumented

    Declaration

    Swift

    public let line: String?
  • Undocumented

    Declaration

    Swift

    public let distance: String?
  • Declaration

    Swift

    public init(from decoder: Decoder) throws