newValueFor method

T? newValueFor(
  1. String typeName
)

Returns the newValue from the first change event with the specified typeName. Returns null if not found.

Implementation

T? newValueFor(String typeName) {
  final event = firstForPropertyName(typeName);
  return event?.newValue;
}