subscript(dynamicMember:)

Returns the value of the attribute that the specified key path indicates.

Declaration

@preconcurrency subscript<T>(dynamicMember keyPath: KeyPath<S, T>) -> T.Value? where T : AttributedStringKey, T.Value : Sendable { get set }