ChainHandler typedef Null safety

  1. @Deprecated('Will be removed in stack_trace 2.0.0.')
ChainHandler = void Function(dynamic error, Chain chain)

A function that handles errors in the zone wrapped by Chain.capture.

Implementation

@Deprecated('Will be removed in stack_trace 2.0.0.')
typedef ChainHandler = void Function(dynamic error, Chain chain);