ProductWrapper class

Annotations
  • @JsonSerializable(createToJson: true)
  • @immutable

Constructors

ProductWrapper({required String productId, required ProductType productType})
Creates a new ProductWrapper.
const

Properties

hashCode int
The hash code for this object.
no setteroverride
productId String
The product identifier.
final
productType ProductType
The product type.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
Creates a JSON representation of this product.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override