getAttribute<T> method

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

Get attribute of a specified name.

Implementation

T? getAttribute<T>(String name){
  return _attributes[name] as T;
}