fix: fixed code gen issues in latest code

This commit is contained in:
Vidya Sagar
2023-12-27 21:38:23 +05:30
parent 6ba41970ad
commit 80e13fc625
2 changed files with 3 additions and 1 deletions

View File

@ -68,6 +68,8 @@ class DartDioCodeGen {
case ContentType.text:
dataExp = declareFinal('data').assign(strContent);
// when add new type of [ContentType], need update [dataExp].
case ContentType.formdata:
// TODO: Need to Handle this case.
}
}
final responseExp = declareFinal('response').assign(InvokeExpression.newOf(