MessageInfo class
Provides info about the status of a message that is submitted to a queue.
Constructors
- MessageInfo({required String messageId, required String queueId, required String queueName, required String submittedAt, required String? completedAt, required String? startedAt, required MessageStatus status, required dynamic errors})
- Creates a instance of MessageInfo
-
MessageInfo.fromJson(Map<
String, dynamic> json) -
Creates a instance of MessageInfo from JsonMap.
factory
Properties
- completedAt ↔ String?
-
The message processing complete date-time
getter/setter pair
- errors ↔ dynamic
-
Provides information about the errors occurred during processing of the
message
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- messageId ↔ String
-
The id of the message
getter/setter pair
- queueId ↔ String
-
The id of the queue this message is submitted to
getter/setter pair
- queueName ↔ String
-
The name of the queue this message is submitted to
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt ↔ String?
-
The message processing start date-time
getter/setter pair
- status ↔ MessageStatus
-
The status of the message. When the message is submitted to the queue, it
is in
pending
status. When the message is being processed, its status changes toprocessing
. If message is successfully completed its status becomescomplete
otherwiese it becomeserrors
.getter/setter pair - submittedAt ↔ String
-
The message submit date-time
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Convert instance to JsonMap.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited