We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d35c5 commit 07cb652Copy full SHA for 07cb652
modules/openapi-generator/src/main/resources/dart2/enum.mustache
@@ -13,7 +13,7 @@ class {{classname}} {
13
{{/enumVars}}
14
{{/allowableValues}}
15
16
- static {{classname}} fromJson(String value) {
+ static {{classname}} fromJson({{dataType}} value) {
17
return new {{classname}}TypeTransformer().decode(value);
18
}
19
0 commit comments