tasks top-level property

List<Task> tasks
getter/setter pair

Implementation

List<Task> tasks = [
  Task(
    taskName: 'task1',
    statusId: TaskStatus.progress,
    description: 'This is the description of the task1',
    rate: Decimal.parse('22'),
    timeEntries: const [],
  ),
  Task(
    taskName: 'task2',
    statusId: TaskStatus.progress,
    description: 'This is the description of the task2',
    rate: Decimal.parse('23'),
    timeEntries: const [],
  )
];