toMap method

  1. @override
Map<String, Object?> toMap()
override

Implementation

@override
Map<String, Object?> toMap() {
  return {
    ...super.data,
    if ($meta != null) '_meta': $meta!.toMap(),
    if (nextCursor != null) 'nextCursor': nextCursor,
    'tasks': tasks.map((e) => e.toMap()).toList(),
  };
}