findAttributeByKey method

ARBAttribute? findAttributeByKey(
  1. ARBAttributeKey key
)

Finds ARB attribute by given key

Implementation

ARBAttribute? findAttributeByKey(ARBAttributeKey key) =>
    attributes.firstWhereOrNull((x) => x.key == key);