setCallback method

void setCallback({
  1. OnUpdateSuccess? onUpdateSuccess,
  2. OnError? onError,
  3. OnUpdateWithError? onUpdateWithError,
})

Implementation

void setCallback({
  OnUpdateSuccess? onUpdateSuccess,
  OnError? onError,
  OnUpdateWithError? onUpdateWithError,
}) {
  _onUpdateSuccess = onUpdateSuccess;
  _onError = onError;
  _onUpdateWithError = onUpdateWithError;
}