Product class

Annotations
  • @JsonSerializable.new()

Constructors

Product({required int id, required String title, required List<FileType> files, required List<OptionType> options, required bool? isDiscontinued, required num? avgFulfillmentTime, required String description, required List<AvailableTechnique> techniques, required String? originCountry, required String type, required String typeName, required String? brand, required String model, required String image, required int variantCount, required String currency, required int mainCategoryId})
Product.fromJson(Map<String, dynamic> json)
factory

Properties

avgFulfillmentTime num?
final
brand String?
final
currency String
final
description String
final
files List<FileType>
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
image String
final
isDiscontinued bool?
final
mainCategoryId int
final
model String
final
options List<OptionType>
final
originCountry String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
techniques List<AvailableTechnique>
final
title String
final
type String
final
typeName String
final
variantCount int
final

Methods

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

Operators

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