Tag class final

Inheritance
Annotations
  • @immutable

Constructors

Tag.new(String name, {TagCategory category = general, int postCount = 0, bool isLocked = false, bool isDeprecated = false})
const
Tag.fromJson(Map<String, dynamic> json)
factory

Properties

category TagCategory
final
createdAt DateTime?
The date and time the resource was created.
finalinherited
hashCode int
The hash code for this object.
no setteroverride
id int?
An identifier for the resource.
finalinherited
isDeprecated bool
final
isLocked bool
final
name String
final
postCount int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updatedAt DateTime?
The date and time the resource was last updated.
finalinherited

Methods

copyWith({TagCategory? category, bool? isLocked, bool? isDeprecated}) Tag
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() String
toString() String
A string representation of this object.
override

Operators

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