Delete data
DELETE requests
Future<void> deleteTodo() async {try { final restOperation = Amplify.API.delete('todo/1'); final response = await restOperation.response; safePrint('DELETE call succeeded: ${response.decodeBody()}');} on ApiException catch (e) { safePrint('DELETE call failed: $e');}}