ConvertedInProduct class

The product is represented as a dictionary with the following keys:

  • id: The product id.
  • quantity: The quantity of the product.
  • name: The name of the product. In IOS, id and quantity are Integers, and name is a String. In Android, id, quantity and name are Strings.

Constructors

ConvertedInProduct({required int id, required int quantity, String? name})

Properties

hashCode int
The hash code for this object.
no setterinherited
id int
final
name String?
final
quantity int
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

toMap(ConvertedInProduct product) Map<String, String>