Categories class
- Annotations
Constructors
- Categories({@JsonKey(name: 'first_category_id') String? firstCategoryId, @JsonKey(name: 'first_category_name') String? firstCategoryName, @JsonKey(name: 'main_category_id') String? mainCategoryId, @JsonKey(name: 'main_category_name') String? mainCategoryName, @JsonKey(name: 'second_category_id') String? secondCategoryId, @JsonKey(name: 'second_category_name') String? secondCategoryName})
-
constfactory
-
Categories.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
copyWith
→ $CategoriesCopyWith<
Categories> -
Create a copy of Categories
with the given fields replaced by the non-null parameter values.
no setterinherited
- firstCategoryId → String?
-
no setterinherited
- firstCategoryName → String?
-
no setterinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainCategoryId → String?
-
no setterinherited
- mainCategoryName → String?
-
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secondCategoryId → String?
-
no setterinherited
- secondCategoryName → String?
-
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
Serializes this Categories to a JSON map.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited