of static method

TaskList of({
  1. int? count,
  2. List<ITask>? data,
})

Implementation

static TaskList of({int? count, List<ITask>? data}) {
  final self =
      TaskList(<String, dynamic>{}, mtype: TaskListRef, update: true);
  if (count != null) self.count = count;
  if (data != null) self.data = data;
  return self;
}