ChecklistItem class
Represents a checklist item in a task.
- Annotations
-
- @JsonSerializable()
Constructors
- ChecklistItem.new({bool? isChecked, String? title, String? createdDateTime, String? lastModifiedDateTime, String? lastModifiedBy, String? orderHint})
- Creates a new ChecklistItem instance.
-
ChecklistItem.fromJson(Map<
String, dynamic> json) -
Creates a ChecklistItem instance from JSON data.
factory
Properties
- createdDateTime → String?
-
The time when the item was created.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isChecked → bool?
-
Whether the checklist item is checked off.
final
- lastModifiedBy → String?
-
The ID of the user who created the item.
final
- lastModifiedDateTime → String?
-
The time when the item was last modified.
final
- orderHint → String?
-
The order of the item in the checklist.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
The title of the checklist item.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts this ChecklistItem instance to JSON data.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited