Channel class

*<Null safety>*

Constructors

Channel (Handle? handle)

Channel.fromFile (String path)

Gets a Channel for accessing the file at path. ...
factory

Properties

handleHandle?

read-only, inherited

hashCode → int

The hash code for this object. ...
read-only, inherited

isValid → bool

read-only, inherited

runtimeType → Type

A representation of the runtime type of the object.
read-only, inherited

Methods

close() void

inherited

noSuchMethod(Invocation invocation) dynamic

Invoked when a non-existent method or property is accessed. ...
inherited

passHandle() Handle?

inherited

queryAndRead() ReadResult
toString() String

Returns a string representation of this object.
inherited

write(ByteData data, [List<Handle>? handles]) int

Operators

operator ==(Object other) bool

The equality operator. ...
inherited

Constants

MAX_MSG_BYTES const int
MAX_MSG_HANDLES const int
PEER_CLOSED const int
READ_MAY_DISCARD const int
READABLE const int
WRITABLE const int