Tag class

Annotations
  • @freezed

Constructors

Tag.new({int? id, String? name, String? createdBy, int? count, String? color, DateTime? createdOnUtc, User? user, String? updatedByUserId, String? deletedByUserId})
const
factory
Tag.fromJson(Map<String, dynamic> json)
factory

Properties

color String?
no setterinherited
copyWith → $TagCopyWith<Tag>
Create a copy of Tag with the given fields replaced by the non-null parameter values.
no setterinherited
count int?
no setterinherited
createdBy String?
no setterinherited
createdOnUtc DateTime?
no setterinherited
deletedByUserId String?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
id int?
no setterinherited
name String?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedByUserId String?
no setterinherited
user User?
no setterinherited

Methods

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

Operators

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