QueryResult<T> class

Constructors

QueryResult({T? data, bool isLoading = false, dynamic error})
QueryResult.fromSnapshot(AsyncSnapshot<T> snapshot)
factory

Properties

data → T?
final
error → dynamic
final
hasData bool
no setter
hasError bool
no setter
hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
isLoading bool
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({T? data, bool? isLoading, dynamic error}) QueryResult<T>
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