OnError typedef

OnError = void Function(String error)

Implementation

typedef OnError = void Function(String error);