Item class

Constructors

Item({String id = null, String name = null, num categoryId = null, String outletId = null, List<Image> images = const [], List<UpdateItemVariants> variants = const [], List<ItemAllOfInventory> inventory = const [], List<UpdateItemCostOfGoodsSold> costOfGoodsSold = const [], String description = null, DateTime createdAt = null, String createdBy = null, DateTime updatedAt = null, String updatedBy = null, bool deleted = false})

Properties

categoryId num
@Alias('categoryId', isNullable: false), final
costOfGoodsSold List<UpdateItemCostOfGoodsSold>
@Alias('costOfGoodsSold', isNullable: false), final
createdAt DateTime
@Alias('createdAt', isNullable: false), final
createdBy String
@Alias('createdBy', isNullable: false), final
deleted bool
@Alias('deleted', isNullable: false), final
description String
@Alias('description', isNullable: false), final
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
@Alias('id', isNullable: false), final
images List<Image>
@Alias('images', isNullable: false), final
inventory List<ItemAllOfInventory>
@Alias('inventory', isNullable: false), final
name String
@Alias('name', isNullable: false), final
outletId String
@Alias('outletId', isNullable: false), final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
updatedAt DateTime
@Alias('updatedAt', isNullable: false), final
updatedBy String
@Alias('updatedBy', isNullable: false), final
variants List<UpdateItemVariants>
@Alias('variants', isNullable: false), final

Methods

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

Operators

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