errorCallback abstract method Null safety

AsyncError? errorCallback(
  1. Zone zone,
  2. Object error,
  3. StackTrace? stackTrace
)

Implementation

AsyncError? errorCallback(Zone zone, Object error, StackTrace? stackTrace);