HistoryState

public struct HistoryState

History of state.

  • State of a target thing.

    Declaration

    Swift

    public let state: [String : Any]
  • Creation time of a state.

    Declaration

    Swift

    public let createdAt: Date
  • Initialize HistoryState.

    Developers rarely use this initializer. If you want to recreate same instance from stored data or transmitted data, you can use this method.

    Declaration

    Swift

    public init(_ state: [String: Any], createdAt: Date)