AdditionalProperties class
Constructors
-
AdditionalProperties({bool? allowUnicodeIdentifiers = false, bool? ensureUniqueParams = true, bool? useEnumExtension = false, bool enumUnknownDefaultCase = false, bool? prependFormOrBodyParameters = false, String? pubAuthor, String? pubAuthorEmail, String? pubDescription, String? pubHomepage, bool legacyDiscriminatorBehavior = true, String? pubName, String? pubVersion, bool? sortModelPropertiesByRequiredFlag = true, bool? sortParamsByRequiredFlag = true, String? sourceFolder, Wrapper wrapper = Wrapper.none})
-
const
-
AdditionalProperties.fromMap(Map<String, dynamic> map)
-
Produces an AdditionalProperties object from the
ConstantReader
map
.
Properties
-
allowUnicodeIdentifiers
→ bool?
-
toggles whether unicode identifiers are allowed in names or not, default is false
final
-
ensureUniqueParams
→ bool?
-
Whether to ensure parameter names are unique in an operation (rename parameters that are not).
final
-
enumUnknownDefaultCase
→ bool
-
If the server adds new enum cases, that are unknown by an old spec/client,
the client will fail to parse the network response.With this option enabled, each enum will have a new case, 'unknown_default_open_api',
so that when the server sends an enum case that is not known by the client/spec,
they can safely fallback to this case.
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
legacyDiscriminatorBehavior
→ bool
-
Set to true for generators with better support for discriminators.
(Python, Java, Go, PowerShell, C#have this enabled by default).
final
-
prependFormOrBodyParameters
→ bool?
-
Add form or body parameters to the beginning of the parameter list.
final
-
pubAuthor
→ String?
-
Author name in generated pubspec
final
-
pubAuthorEmail
→ String?
-
Email address of the author in generated pubspec
final
-
pubDescription
→ String?
-
Description in generated pubspec
final
-
pubHomepage
→ String?
-
Homepage in generated pubspec
final
-
pubName
→ String?
-
Name in generated pubspec
final
-
pubVersion
→ String?
-
Version in generated pubspec
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
sortModelPropertiesByRequiredFlag
→ bool?
-
Sort model properties to place required parameters before optional parameters.
final
-
sortParamsByRequiredFlag
→ bool?
-
Sort method arguments to place required parameters before optional parameters.
final
-
sourceFolder
→ String?
-
Source folder for generated code
final
-
useEnumExtension
→ bool?
-
Allow the 'x-enum-values' extension for enums
final
-
wrapper
→ Wrapper
-
Flutter wrapper to use (none|flutterw|fvm)
final