onFailed abstract method

void onFailed(
  1. dynamic exception
)

Called when an operation fails.

exception contains the error message from the failed operation.

Implementation

void onFailed(dynamic exception);