editTask method
String editTask ({required String title, required String description, required String deadline, required String taskId})
Implementation
static String editTask(\{
required String title,
required String description,
required String deadline,
required String taskId,
\}) =\>
'''
mutation \{
updateTask(
data: \{ title: "$title", description: "$description", deadline: "$deadline" \}
id: "$taskId"
) \{
_id
title
description
createdAt
deadline
creator \{
_id
\}
event \{
_id
\}
\}
\}
''';