Category class

Category class will be used to store the details about the categories used while making the model. Each category will contain name, count, description about the respective Category.

Constructors

Category({String? name, int? count, String? id, String? routing, bool? currentlyRenaming, String? description})
Category.fromJson(Map<String, dynamic> json)
factory

Properties

count int?
count will keep the count of this particular category.
getter/setter pair
currentlyRenaming bool?
getter/setter pair
description String?
description represents the decsription or value of the model, if any. ELse it will be empty.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id String?
id of the respective category.
getter/setter pair
name String?
name represnts the name of the respective category.
getter/setter pair
routing String?
getter/setter pair
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>
toString() String
A string representation of this object.
inherited

Operators

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