error method Null safety

dynamic error(
  1. Object object
)

Implementation

dynamic error(Object object) => _errorStates[object.hashCode];