mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 05:32:26 +08:00
fix: fixed code gen issues in latest code
This commit is contained in:
@ -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(
|
||||
|
Reference in New Issue
Block a user