Category class

Available extensions
Annotations
  • @JsonSerializable(explicitToJson: true)

Constructors

Category({required String categoryId, required String group, required List<String> hierarchy})
Category.fromJson(Map<String, dynamic> json)
factory

Properties

categoryId String
final
group String
final
hashCode int
The hash code for this object.
no setteroverride
hierarchy List<String>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyWith({String? categoryId, String? group, List<String>? hierarchy}) Category

Available on Category, provided by the $CategoryExtension extension

copyWithWrapped({Wrapped<String>? categoryId, Wrapped<String>? group, Wrapped<List<String>>? hierarchy}) Category

Available on Category, provided by the $CategoryExtension extension

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.
override

Operators

operator ==(dynamic other) bool
The equality operator.
override

Constants

fromJsonFactory → const Category Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(Category instance)