TaskPreview class

Task Preview.

Annotations
  • @freezed

Constructors

TaskPreview({@JsonKey(name: '_error') String? error, @JsonKey(name: 'assignee') required String assignee, @JsonKey(name: 'deadline') String? deadline, @JsonKey(name: 'description') required String description, @JsonKey(name: 'section') required String section, @JsonKey(name: 'public') required bool isPublic, @JsonKey(name: 'tags') required List<String> tags, @JsonKey(name: 'items') required List<TaskItems> items})
const
factory
TaskPreview.fromJson(Map<String, dynamic> json)
factory

Properties

assignee String
.
no setterinherited
copyWith → $TaskPreviewCopyWith<TaskPreview>
no setterinherited
deadline String?
.
no setterinherited
description String
.
no setterinherited
error String?
.
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isPublic bool
.
no setterinherited
items List<TaskItems>
.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section String
.
no setterinherited
tags List<String>
.
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