TaskTab class

Task tab.

Annotations
  • @freezed

Constructors

TaskTab({@JsonKey(name: 'key') required String key, @JsonKey(name: 'title') required String title, @JsonKey(name: 'hide_empty') required bool hideEmpty, @JsonKey(name: 'show_counter') required bool showCounter, @JsonKey(name: 'pagination') required bool pagination, @JsonKey(name: 'filters') required List<TaskFilter> filters, @JsonKey(name: 'sort') required List<TaskSort> sort, @JsonKey(name: 'unread_tasks') required List<TaskCounters> unreadTasks})
const
factory
TaskTab.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $TaskTabCopyWith<TaskTab>
no setterinherited
filters List<TaskFilter>
Filters inside tab.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
hideEmpty bool
Disable this tab when it has no contents.
no setterinherited
key String
Tab name.
no setterinherited
pagination bool
Enable pagination.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showCounter bool
Show unread badge.
no setterinherited
sort List<TaskSort>
Sort available in tab.
no setterinherited
title String
Tab title.
no setterinherited
unreadTasks List<TaskCounters>
Unread tasks with jid and counters.
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