OperationFinished class final

A long-running operation finished.

This is what makes an asynchronous operation usable: a client that had to poll for the answer would either poll too often or find out too late. It learns on the stream it is already watching.

Inheritance

Constructors

OperationFinished(NodeId nodeId, String operationId, String kind, bool success, DateTime at)
Creates the event.
const

Properties

at → DateTime
When the event occurred (UTC).
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
kind → String
What was done.
final
nodeId → NodeId
The target node.
final
operationId → String
The operation's id.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
success → bool
Whether it did what was asked.
final
type → String
A stable event type discriminator (used in JSON / streaming).
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
payload() → Map<String, dynamic>
Event-specific payload fields.
override
toJson() → Map<String, dynamic>
JSON form (type + payload).
inherited
toString() → String
A string representation of this object.
inherited

Operators

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