OptionValue

final public class OptionValue

Immutable Model representing an option value used for FieldDefinition.options[]

  • key

    Option Value Key

    Declaration

    Swift

    public internal(set) var key: String? {
      get
      }
  • Option value label

    Declaration

    Swift

    public internal(set) var label: String? {
      get
      }
  • Option value subscript

    Declaration

    Swift

    public subscript(key: String?) -> String? { get set }

    Parameters

    key

    key value

  • CustomStringConvertible

    Declaration

    Swift

    public var description: String { get }
  • CustomDebugStringConvertible

    Declaration

    Swift

    public var debugDescription: String { get }