MixpanelFlagVariant

public struct MixpanelFlagVariant : Decodable

Undocumented

  • key

    Undocumented

    Declaration

    Swift

    public let key: String
  • Undocumented

    Declaration

    Swift

    public let value: Any?
  • Undocumented

    Declaration

    Swift

    public let experimentID: String?
  • Undocumented

    Declaration

    Swift

    public let isExperimentActive: Bool?
  • Undocumented

    Declaration

    Swift

    public let isQATester: Bool?
  • Where this variant was sourced from. Always non-nil — every MixpanelFlagVariant carries a definite source. .fallback for developer-supplied fallback instances; .network or .persistence(persistedAt:) when the SDK serves a variant. For persisted variants, the timestamp lives on the .persistence case so invalid combinations like “network with a timestamp” are unrepresentable.

    Declaration

    Swift

    public let source: Source
  • Identifies where a served variant came from.

    See more

    Declaration

    Swift

    public enum Source
  • Declaration

    Swift

    public init(from decoder: Decoder) throws
  • Undocumented

    Declaration

    Swift

    public init(key: String = "", value: Any? = nil, isExperimentActive: Bool? = nil, isQATester: Bool? = nil, experimentID: String? = nil)