TaskElement class
Constructors
-
TaskElement({required String taskDesc, required String event, required int frequency, required String logic, required List<
Reward> rewards, required String status, required dynamic dateCompleted, required dynamic taskId}) - TaskElement.fromJson(String str)
-
factory
-
TaskElement.fromMap(Map<
String, dynamic> json) -
factory
Properties
- dateCompleted → dynamic
-
final
- event → String
-
final
- frequency → int
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- logic → String
-
final
-
rewards
→ List<
Reward> -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- status → String
-
final
- taskDesc → String
-
final
- taskId → dynamic
-
final
Methods
-
copyWith(
{String? taskDesc, String? event, int frequency = 0, String? logic, List< Reward> ? rewards, String? status, dynamic dateCompleted, dynamic taskId}) → TaskElement -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited