StreamFetchResult class
Result of a stream fetch operation.
Contains success status, fetched data, and whether more data is available.
Constructors
-
StreamFetchResult({required bool success, required List<
int> ? data, required bool hasMore}) - Creates a new StreamFetchResult instance.
Properties
-
data
→ List<
int> ? -
Fetched data, or null if no data or on failure.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasMore → bool
-
Whether more data is available in the stream.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- success → bool
-
Whether the fetch operation succeeded.
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