SubjectProgress class
- Inheritance
-
- Object
- SupabaseObjectFunctions<
SubjectProgress> - SubjectProgress
- Annotations
-
- @JsonSerializable()
Constructors
- SubjectProgress({required String subjectId, required String interventionId, required String taskId, required String resultType, required Result result})
-
SubjectProgress.fromJson(Map<
String, dynamic> json) -
factory
Properties
- completedAt ↔ DateTime?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setteroverride
- interventionId ↔ String
-
getter/setter pair
-
primaryKeys
→ Map<
String, Object> -
no setteroverride
- result ↔ Result
-
getter/setter pair
- resultType ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startedAt ↔ DateTime?
-
getter/setter pair
- subjectId ↔ String
-
getter/setter pair
- taskId ↔ String
-
getter/setter pair
Methods
-
delete(
) → Future< SubjectProgress> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
save(
{bool onlyUpdate = false}) → Future< SubjectProgress> -
Save the object to the database.
By default, this will upsert the object, i.e. insert it if it does not exist, or update it if it does.
If
onlyUpdate
is set to true, the object has to exist in the database, otherwise the result will be empty.inherited -
setStartDateBackBy(
{required int days}) → SubjectProgress -
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override