previousValueFor method Null safety

T? previousValueFor(
  1. String propertyName
)

Gets the EmpireStateChanged.previousValue for the first event where the EmpireStateChanged.propertyName matches the propertyName argument

Implementation

T? previousValueFor(String propertyName) {
  return firstForPropertyName(propertyName)?.previousValue;
}