Task class

Constructors

Task.new({required int? type, required String? title, required String? descr, required String? timezone, required int? status, required List<int> platform, required int? displayType, required int? delay, required Trigger? eventTrigger, required Trigger? userTrigger, required Recurrence? recurrence, required Map<String, dynamic>? properties, required List<Goal>? goals, required List<Variant> variants, required String? clientId, required String id, required String? createdAt, required String? updatedAt, required String? createdBy, required String? lastUpdatedBy, required String? parentTaskId, String? startsAt})
Task.fromJson(Map<String, dynamic> json)
factory

Properties

clientId String?
final
createdAt String?
final
createdBy String?
final
delay int?
final
descr String?
final
displayType int?
final
eventTrigger Trigger?
final
goals List<Goal>?
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
lastUpdatedBy String?
final
parentTaskId String?
final
platform List<int>
final
properties Map<String, dynamic>?
final
recurrence Recurrence?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startsAt String?
final
status int?
final
timezone String?
final
title String?
final
type int?
final
updatedAt String?
final
userTrigger Trigger?
final
variants List<Variant>
final

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.
override

Operators

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

Static Methods

logJson(Map<String, dynamic> json) → void