TaskCreateRequest class

Request model for creating a new task.

Annotations
  • @JsonSerializable(createFactory: false)

Constructors

TaskCreateRequest.new({required String title, required String planId, required String bucketId, Map<String, TaskAssignmentRequest>? assignments, int? priority, String? dueDateTime, String? startDateTime})
Creates a new TaskCreateRequest instance.

Properties

assignments Map<String, TaskAssignmentRequest>?
The user ID of users assigned to the task.
final
bucketId String
The ID of the bucket the task belongs to.
final
dueDateTime String?
The date and time when the task is due.
final
hashCode int
The hash code for this object.
no setterinherited
planId String
The ID of the plan the task belongs to.
final
priority int?
The task's priority (0-10).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startDateTime String?
The date when the task starts.
final
title String
The title of the task.
final

Methods

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

Operators

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