WASIPreview2FilesystemReadLinkResult class final
Result returned by Preview2 filesystem readlink callbacks.
Constructors
- WASIPreview2FilesystemReadLinkResult.error(WASIPreview2FilesystemMutationError? error)
-
Creates a failed readlink result with a WASI filesystem
error.const - WASIPreview2FilesystemReadLinkResult.ok(String? target)
-
Creates a successful readlink result with
target.const
Properties
- error → WASIPreview2FilesystemMutationError?
-
WASI filesystem error reported by the operation, or null on success.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isOk → bool
-
Whether the operation succeeded.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- target → String?
-
Symbolic link target on success.
final
Methods
-
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