MessageState.failed constructor

const MessageState.failed({
  1. required FailedState state,
  2. Object? reason,
})

Failed state when the message fails to be sent, updated, or deleted.

Implementation

const factory MessageState.failed({
  required FailedState state,
  Object? reason,
}) = MessageFailed;