ItemCategory class

Annotations
  • @freezed

Constructors

ItemCategory(int id, String name, List<NamedAPIResource> items, List<Name> names, NamedAPIResource pocket)
const
factory
ItemCategory.fromJson(Json json)
factory

Properties

copyWith → $ItemCategoryCopyWith<ItemCategory>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int
The identifier for this resource.
no setterinherited
items List<NamedAPIResource>
A list of items that are a part of this category.
no setterinherited
name String
The name for this resource.
no setterinherited
names List<Name>
The name of this item category listed in different languages.
no setterinherited
pocket NamedAPIResource
The pocket items in this category would be put in.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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