WarnFunction typedef

WarnFunction = void Function(Object error)

A function that handles warnings or errors. Receives an Object representing the error.

Implementation

typedef WarnFunction = void Function(Object error);