oldValueFor method

T? oldValueFor(
  1. String typeName
)

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

Implementation

T? oldValueFor(String typeName) {
  final event = firstForPropertyName(typeName);
  return event?.oldValue;
}