mirror of
https://github.com/foss42/apidash.git
synced 2025-08-06 13:51:20 +08:00
fix: fixed code gen issues in latest code
This commit is contained in:
@ -68,6 +68,8 @@ class DartDioCodeGen {
|
|||||||
case ContentType.text:
|
case ContentType.text:
|
||||||
dataExp = declareFinal('data').assign(strContent);
|
dataExp = declareFinal('data').assign(strContent);
|
||||||
// when add new type of [ContentType], need update [dataExp].
|
// 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(
|
final responseExp = declareFinal('response').assign(InvokeExpression.newOf(
|
||||||
|
@ -143,7 +143,7 @@ class _DropdownButtonFormData extends State<DropdownButtonFormData> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
class DropdownButtonCodegenLanguage extends StatefulWidget {
|
class DropdownButtonCodegenLanguage extends StatelessWidget {
|
||||||
const DropdownButtonCodegenLanguage({
|
const DropdownButtonCodegenLanguage({
|
||||||
super.key,
|
super.key,
|
||||||
this.codegenLanguage,
|
this.codegenLanguage,
|
||||||
|
Reference in New Issue
Block a user