TodoTaskCreateRequest class

Request model for creating a new task.

Annotations
  • @JsonSerializable(createFactory: false)

Constructors

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

Properties

body String?
The detailed description of the task.
final
dueDateTime String?
The date and time when the task is due.
final
hashCode int
The hash code for this object.
no setterinherited
importance String?
The 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 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 TodoTaskCreateRequest instance to a JSON object.
toString() String
A string representation of this object.
inherited

Operators

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