FetchedProduct class Null safety
A Product
that we tried to fetch, but was it successful?..
Constructors
- FetchedProduct(dynamic product)
- FetchedProduct.error(FetchedProductStatus status)
- When the "fetch product" operation didn't go well (no status "ok" here)
Properties
- hashCode → int
-
The hash code for this object. [...]
read-only, inherited
- product → dynamic
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- status → FetchedProductStatus
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toString(
) → String -
A string representation of this object. [...]
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited