firstForPropertyName method

ActiveStateChanged<T>? firstForPropertyName(
  1. String typeName
)

Returns the first change event with the specified typeName, or null if not found.

Implementation

ActiveStateChanged<T>? firstForPropertyName(String typeName) {
  for (final e in this) {
    if (e.typeName == typeName) return e;
  }
  return null;
}