get<T> method

NotusAttribute<T>? get<T>(
  1. NotusAttributeKey<T> key
)

Returns NotusAttribute from this set by specified key.

Implementation

NotusAttribute<T>? get<T>(NotusAttributeKey<T> key) =>
    _data[key.key] as NotusAttribute<T>?;