TaskModelResponse class
- Inheritance
-
- Object
- HiveObject
- TaskModelResponse
- Annotations
-
- @HiveType(typeId: 1)
- @JsonSerializable(explicitToJson: true)
Constructors
-
TaskModelResponse({required String creatorId, required String createdAt, String? assigneeId, String? assignerId, required int commentCount, required bool isCompleted, required String content, required String description, DueModel? due, DurationModel? duration, required String id, required List<
String> labels, required int order, required int priority, required String projectId, String? sectionId, String? parentId, required String url}) -
TaskModelResponse.fromJson(Map<
String, dynamic> json) -
factory
Properties
- assigneeId → String?
-
final
- assignerId → String?
-
final
- box → BoxBase?
-
Get the box in which this object is stored. Returns
null
if object has not been added to a box yet.no setterinherited - commentCount → int
-
final
-
commentList
↔ List<
CommentModel> -
getter/setter pair
- content → String
-
final
- createdAt → String
-
final
- creatorId → String
-
final
- description → String
-
final
- due → DueModel?
-
final
- duration → DurationModel?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
final
- isCompleted → bool
-
final
- isInBox → bool
-
Returns whether this object is currently stored in a box.
no setterinherited
- key → dynamic
-
Get the key associated with this object. Returns
null
if object has not been added to a box yet.no setterinherited -
labels
→ List<
String> -
final
- order → int
-
final
- parentId → String?
-
final
- priority → int
-
final
- projectId → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sectionId → String?
-
final
- url → String
-
final
Methods
-
delete(
) → Future< void> -
Deletes this object from the box it is stored in.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
) → Future< void> -
Persists this object.
inherited
-
toEntity(
) → TaskEntity -
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited