ErrorCallback typedef
ErrorCallback =
void Function(Object error, StackTrace stackTrace)
Callback type used to complete a sequence of values with a failure.
Implementation
typedef ErrorCallback = void Function(Object error, StackTrace stackTrace);