Subtask class

Link to sub/sup task.

Annotations
  • @freezed

Constructors

Subtask({@JsonKey(name: 'jid') required String jid, @JsonKey(name: 'assignee') required String assignee, @JsonKey(name: 'title') required String title, @JsonKey(name: 'num') required int num, @JsonKey(name: 'display_name') required String displayName, @Default(false) @JsonKey(name: 'public') bool? isPublic, @JsonKey(name: 'task_status') String? taskStatus})
const
factory
Subtask.fromJson(Map<String, dynamic> json)
factory

Properties

assignee String
Assignee contact id. Tasks only.
no setterinherited
copyWith → $SubtaskCopyWith<Subtask>
no setterinherited
displayName String
Title.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isPublic bool?
Is task or group public for non-guests.
no setterinherited
jid String
Task id.
no setterinherited
num int
Task number in this team.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taskStatus String?
Subtask task status.
no setterinherited
title String
Task title. Generated from number and description.
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