TaskRequest class
- Available extensions
- Annotations
-
- @JsonSerializable(explicitToJson: true)
Constructors
-
TaskRequest.new({String? title, String? description, LocationRequest? location, TaskType? type, TaskFrequency? frequency, DateTime? idealDate, TaskIdealDateCompletionWhen? idealDateCompletion, List<
int> ? categories}) -
TaskRequest.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
categories
→ List<
int> ? -
final
- description → String?
-
final
- frequency → TaskFrequency?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- idealDate → DateTime?
-
final
- idealDateCompletion → TaskIdealDateCompletionWhen?
-
final
- location → LocationRequest?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- title → String?
-
final
- type → TaskType?
-
final
Methods
-
copyWith(
{String? title, String? description, LocationRequest? location, TaskType? type, TaskFrequency? frequency, DateTime? idealDate, TaskIdealDateCompletionWhen? idealDateCompletion, List< int> ? categories}) → TaskRequest -
Available on TaskRequest, provided by the $TaskRequestExtension extension
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
dynamic other) → bool -
The equality operator.
override
Constants
-
fromJsonFactory
→ const TaskRequest Function(Map<
String, dynamic> json) -
toJsonFactory
→ const Map<
String, dynamic> Function(TaskRequest instance)