Product class

Constructors

Product({required String name, required num quantity, required num unitamount, required String currency, required String description})
const

Properties

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

Methods

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

Operators

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