DownloadIsolateMsg class

Represents a message sent to or from the download isolate. This class encapsulates the message type and the associated data payload, enabling structured communication between isolates during download operations.

Constructors

DownloadIsolateMsg.new(IsolateMsgType type, dynamic data)
Constructs a DownloadIsolateMsg with the specified type and data.

Properties

data → dynamic
The data payload of the message, which can be any type depending on the message.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type IsolateMsgType
The type of the message, indicating its purpose or content.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
Returns a string representation of the message, including its type and data.
override

Operators

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