ProductStatus class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
- ProductStatus({required ProductStatusStatus status, required DateTime lastStatusChange, required ProductStatusBreakdown breakdown})
-
ProductStatus.fromJson(Map<
String, dynamic> json) -
factory
Properties
- breakdown → ProductStatusBreakdown
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- lastStatusChange → DateTime
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → ProductStatusStatus
-
final
Methods
-
copyWith(
{ProductStatusStatus? status, DateTime? lastStatusChange, ProductStatusBreakdown? breakdown}) → ProductStatus -
Available on ProductStatus, provided by the $ProductStatusExtension extension
-
copyWithWrapped(
{Wrapped< ProductStatusStatus> ? status, Wrapped<DateTime> ? lastStatusChange, Wrapped<ProductStatusBreakdown> ? breakdown}) → ProductStatus -
Available on ProductStatus, provided by the $ProductStatusExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const ProductStatus Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(ProductStatus instance)