onError method

Future<void> onError(
  1. Object error
)

Called when an error occurs.

Implementation

Future<void> onError(Object error) async {}