Skip to main content

userTasks method

String userTasks (String userId)

Implementation

static String userTasks(String userId) =\> '''
query \{
tasksByUser(id: "$userId") \{
_id
title
description
createdAt
deadline
creator \{
_id
firstName
\}
event \{
_id
title
\}
\}
\}
''';