SwiftDocCVariantContainerProtocolVariantContainerA type that contains variant collections.protocol VariantContainerDiscussionThis protocol provides utility APIs for types that contain VariantCollection values.TopicsInstance Methodsfunc getVariantDefaultValue<Value>(keyPath: WritableKeyPath<Self, VariantCollection<Value>?>) -> Value?Returns the default value of the variant collection at the given key path, if present.func getVariantDefaultValue<Value>(keyPath: WritableKeyPath<Self, VariantCollection<Value>>) -> ValueReturns the default value of the variant collection at the given key path.func setVariantDefaultValue<Value>(Value?, keyPath: WritableKeyPath<Self, VariantCollection<Value>?>)Sets the given value, if present, as the default value of the variant collection at the given key path.func setVariantDefaultValue<Value>(Value, keyPath: WritableKeyPath<Self, VariantCollection<Value>>)Sets the given value as the default value of the variant collection at the given key path.