onError method

void onError(
  1. Object error
)

Implementation

void onError(Object error) => addError(error);