Product class

A product or service.

Implemented types
Mixed in types

Constructors

Product({Meta meta, Text description, Place place, Money price, Text title, String websiteUri})
factory
Product.build([void updates(ProductBuilder b)])
factory

Properties

description Text
@nullable, read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
meta Meta
@BuiltValueField(wireName: '@meta'), @nullable, read-only, inherited
place Place
@nullable, read-only
price Money
@nullable, read-only
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
title Text
@nullable, read-only
websiteUri String
@nullable, read-only

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
rebuild(dynamic updates(ProductBuilder)) Product
Rebuilds the instance. [...]
inherited
toBuilder() ProductBuilder
Converts the instance to a builder B. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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

Static Properties

serializer Serializer<Product>
read-only