FailedState class sealed

Represents the failed state of a message.

Annotations
  • @freezed

Constructors

FailedState.deletingFailed({@Default.new(false) bool hard})
Deleting failed state when the message fails to be deleted.
const
factory
FailedState.fromJson(Map<String, dynamic> json)
Creates a new instance from a json
factory
FailedState.sendingFailed()
Sending failed state when the message fails to be sent.
const
factory
FailedState.updatingFailed()
Updating failed state when the message fails to be updated.
const
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Serializes this FailedState to a JSON map.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited