DioProperties class
- Inheritance
-
- Object
- AdditionalProperties
- DioProperties
Constructors
- DioProperties({DioDateLibrary? dateLibrary, bool? nullableFields, bool allowUnicodeIdentifiers = false, bool ensureUniqueParams = true, bool prependFormOrBodyParameters = false, String? pubAuthor, String? pubAuthorEmail, String? pubDescription, String? pubHomepage, String? pubName, String? pubVersion, bool sortModelPropertiesByRequiredFlag = true, bool sortParamsByRequiredFlag = true, bool useEnumExtension = true, String? sourceFolder})
-
const
Properties
- allowUnicodeIdentifiers → bool?
-
toggles whether unicode identifiers are allowed in names or not, default is false
finalinherited
- dateLibrary → DioDateLibrary?
-
Choose serialization format JSON or PROTO is supported
final
- ensureUniqueParams → bool?
-
Whether to ensure parameter names are unique in an operation (rename parameters that are not).
finalinherited
- 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).
finalinherited
- nullableFields → bool?
-
Is the null fields should be in the JSON payload
final
- prependFormOrBodyParameters → bool?
-
Add form or body parameters to the beginning of the parameter list.
finalinherited
- pubAuthor → String?
-
Author name in generated pubspec
finalinherited
- pubAuthorEmail → String?
-
Email address of the author in generated pubspec
finalinherited
- pubDescription → String?
-
Description in generated pubspec
finalinherited
- pubHomepage → String?
-
Homepage in generated pubspec
finalinherited
- pubName → String?
-
Name in generated pubspec
finalinherited
- pubVersion → String?
-
Version in generated pubspec
finalinherited
- 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.
finalinherited
- sortParamsByRequiredFlag → bool?
-
Sort method arguments to place required parameters before optional parameters.
finalinherited
- sourceFolder → String?
-
Source folder for generated code
finalinherited
- useEnumExtension → bool?
-
Allow the 'x-enum-values' extension for enums
finalinherited
- wrapper → Wrapper
-
Flutter wrapper to use (none|flutterw|fvm)
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited