Product class final

Модель продукта. Имеет переопределенные методы equals(), hashcode(), toString().

Constructors

Product({required String productId, required ProductType type, required String amountLabel, int? price, required String currency, required String imageUrl, required String title, String? description})

Properties

amountLabel String
final
currency String
final
description String?
final
hashCode int
The hash code for this object.
no setteroverride
imageUrl String
final
price int?
final
productId String
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
final
type ProductType
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 ==(covariant Product other) bool
The equality operator.
override