Product class

Constructors

Product.from({required String id, required String type, required String name, required String description, required int price, required String currency})
Returns the new instance of Product based on arguments.

Properties

currency String
The currency
final
description String
The description
final
hashCode int
The hash code for this object.
no setteroverride
id String
The id
final
name String
The name
final
price int
The price
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type String
The type
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
override

Operators

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