TaskStatus class

Custom task status.

Annotations
  • @freezed

Constructors

TaskStatus({@JsonKey(name: 'uid') String? uid, @JsonKey(name: 'sort_ordering') required int sortOrdering, @JsonKey(name: 'name') required String name, @JsonKey(name: 'title') required String title, @Default(false) @JsonKey(name: 'is_archive') bool? isArchive})
const
factory
TaskStatus.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $TaskStatusCopyWith<TaskStatus>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isArchive bool?
Status not used anymore.
no setterinherited
name String
Status internal name.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sortOrdering int
Status sort ordering.
no setterinherited
title String
Status localized name.
no setterinherited
uid String?
Status id.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
inherited
toString() String
A string representation of this object.
inherited

Operators

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