Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add missing AnyType type mapping
Without the AnyType type mapping, the generated dart code uses `AnyType` instead of  `Object`, which does not compile.
  • Loading branch information
adg-mh authored May 6, 2020
commit 0fc3664c43749daa2f038dc60e7e83e31702ee9d
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ public DartDioClientCodegen() {

typeMapping.put("file", "Uint8List");
typeMapping.put("binary", "Uint8List");
typeMapping.put("AnyType", "Object");

importMapping.put("BuiltList", "package:built_collection/built_collection.dart");
importMapping.put("BuiltMap", "package:built_collection/built_collection.dart");
Expand Down