NativeEvent class final
A completion reported by the native layer, copied out of its batch.
The native batch is released as soon as the callback that delivered it returns, so this type holds plain Dart values only.
Constructors
Properties
- aux → int
-
final
- data → Uint8List?
-
Payload, when the operation produced one (datagrams, owned reads).
final
-
handle
→ Pointer<
Void> -
final
-
handle2
→ Pointer<
Void> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEof → bool
-
True when a read hit the end of the stream.
no setter
- isOk → bool
-
True for
WT_OKandWT_EOF.no setter - kind → wt_op_t
-
final
- message → String?
-
Diagnostic text, when the native layer reported one.
final
- opId → int
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → int
-
Raw
wt_status_tvalue.final
Methods
-
exception(
[Object? operation]) → WebTransportException -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited