Tag class

Available extensions
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

Tag({int? id, DateTime? dbDateCreated, DateTime? dbDateUpdated, String? category, String? name, String? description, TagColor? color, bool? important, TagStatus? status, List<int>? allowedPositions})
Tag.fromJson(Map<String, dynamic> json)
factory

Properties

allowedPositions → List<int>?
final
category → String?
final
color → TagColor?
final
dbDateCreated → DateTime?
final
dbDateUpdated → DateTime?
final
description → String?
final
hashCode → int
The hash code for this object.
no setterinherited
id → int?
final
important → bool?
final
name → String?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
status → TagStatus?
final

Methods

copyWith({int? id, DateTime? dbDateCreated, DateTime? dbDateUpdated, String? category, String? name, String? description, TagColor? color, bool? important, TagStatus? status, List<int>? allowedPositions}) → Tag

Available on Tag, provided by the $TagExtension extension

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 ==(dynamic other) → bool
The equality operator.
override

Constants

fromJsonFactory → const Tag Function(Map<String, dynamic> json)
toJsonFactory → const Map<String, dynamic> Function(Tag instance)