nextValueFor method Null safety

T? nextValueFor(
  1. String propertyName
)

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

Implementation

T? nextValueFor(String propertyName) {
  return firstForPropertyName(propertyName)?.nextValue;
}