getAttribute<T> method

T? getAttribute<T>(
  1. String key
)

Get attribute value by key

Implementation

T? getAttribute<T>(String key) => attributes[key] as T?;