CategoryResponse class

Annotations

Constructors

CategoryResponse({@JsonKey(name: 'language_id') int? langId, String? icon, bool? root, @JsonKey(name: 'human_readable_id') String? humanReadableId, String? name, @JsonKey(name: 'seo_title') String? seoTitle, @JsonKey(name: 'seo_description') String? seoDescription, @JsonKey(name: 'is_hidden') bool? isHidden, int? id, @JsonKey(name: 'parent_id') int? parentId, @JsonKey(name: 'childs') List<CategoryResponse>? children, String? created, String? updated, @JsonKey(name: 'updated_by') int? updatedBy, int? order, List<CategoryResponse>? parents})
const
factory
CategoryResponse.fromJson(Map<String, dynamic> json)
factory

Properties

children List<CategoryResponse>?
no setterinherited
copyWith → $CategoryResponseCopyWith<CategoryResponse>
Create a copy of CategoryResponse with the given fields replaced by the non-null parameter values.
no setterinherited
created String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
humanReadableId String?
no setterinherited
icon String?
no setterinherited
id int?
no setterinherited
isHidden bool?
no setterinherited
langId int?
no setterinherited
name String?
no setterinherited
order int?
no setterinherited
parentId int?
no setterinherited
parents List<CategoryResponse>?
no setterinherited
root bool?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
seoDescription String?
no setterinherited
seoTitle String?
no setterinherited
updated String?
no setterinherited
updatedBy int?
no setterinherited

Methods

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

Operators

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