IntercomStatusCallback constructor

IntercomStatusCallback({
  1. dynamic onSuccess()?,
  2. dynamic onFailure(
    1. IntercomError error
    )?,
})

Class for intercom status to check if the operation is success or failure. If the operation failed then onFailure callback will be executed with IntercomError details.

Implementation

IntercomStatusCallback({
  this.onSuccess,
  this.onFailure,
});