ZapSnapshot<T> class
Constructors
- ZapSnapshot.unresolved()
-
const
- ZapSnapshot.withData(T? _data)
- ZapSnapshot.withError(Object? _error, StackTrace? _trace)
Properties
- data → T
-
no setter
- error → Object
-
no setter
-
finished
→ ZapSnapshot<
T> -
no setter
- hasData → bool
-
no setter
- hasError → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isDone → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- trace → StackTrace?
-
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited