TodoTaskUpdateRequest class

Request model for updating a task.

Annotations
  • @JsonSerializable.new(createFactory: false)

Constructors

TodoTaskUpdateRequest({String? title, String? body, String? importance, String? dueDateTime, bool? isCompleted})
Creates a new TodoTaskUpdateRequest instance.

Properties

body → String?
The new detailed description of the task.
final
dueDateTime → String?
The new date and time when the task is due.
final
hashCode → int
The hash code for this object.
no setterinherited
importance → String?
The new importance of the task (low, normal, high).
final
isCompleted → bool?
Flag indicating whether the task is marked as completed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String?
The new 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 TodoTaskUpdateRequest instance to a JSON object.
toString() → String
A string representation of this object.
inherited

Operators

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