From a6b640102c5f9945827a151e63a921c6bbd6874c Mon Sep 17 00:00:00 2001 From: Aditya Mayukh Som Date: Thu, 21 Mar 2024 18:00:09 +0530 Subject: [PATCH] added the ending template --- lib/codegen/java/unirest.dart | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/codegen/java/unirest.dart b/lib/codegen/java/unirest.dart index acd54741..b336d08e 100644 --- a/lib/codegen/java/unirest.dart +++ b/lib/codegen/java/unirest.dart @@ -62,4 +62,12 @@ public class Main { .boundary("{{boundary}}")\n '''; + final String kTemplateRequestEnd = """ + .asJson(); + System.out.println(response.getStatus()); + System.out.println(response.getBody()); + } +}\n +"""; + }