ProjectModelResponse class

Inheritance
Annotations

Constructors

ProjectModelResponse({required String id, required String name, required int commentCount, required int order, required String color, required bool isShared, required bool isFavorite, String? parentId, required bool isInboxProject, required bool isTeamInbox, required String viewStyle, required String url})
ProjectModelResponse.fromJson(Map<String, dynamic> json)
factory

Properties

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
color String
final
commentCount int
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isFavorite bool
final
isInBox bool
Returns whether this object is currently stored in a box.
no setterinherited
isInboxProject bool
final
isShared bool
final
isTeamInbox bool
final
key → dynamic
Get the key associated with this object. Returns null if object has not been added to a box yet.
no setterinherited
name String
final
order int
final
parentId String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
url String
final
viewStyle 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() Project
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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