Task class abstract
Abstract definition of survey task
If you want to create a custom task:
- Inherit from Task
- If you want to use JSON override fromJson and add your type
- Implementers
- Annotations
Constructors
-
Task({String? id, List<
Step> steps = const [], Step? initalStep}) -
Task.fromJson(Map<
String, dynamic> json) -
Creates a task from a Map. The task needs to have a type definition of
either 'ordered' - OrderedTask or 'navigable' - NavigableTask.
If not it will throw a TaskNotDefinedException.
factory
Properties
Methods
-
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 ==(
Object other) → bool -
The equality operator.
override