DioProperties constructor

const DioProperties({
  1. DioDateLibrary? dateLibrary,
  2. bool? nullableFields,
  3. DioSerializationLibrary? serializationLibrary,
  4. bool allowUnicodeIdentifiers = false,
  5. bool ensureUniqueParams = true,
  6. bool prependFormOrBodyParameters = false,
  7. String? pubAuthor,
  8. String? pubAuthorEmail,
  9. String? pubDescription,
  10. String? pubHomepage,
  11. String? pubName,
  12. String? pubVersion,
  13. bool sortModelPropertiesByRequiredFlag = true,
  14. bool sortParamsByRequiredFlag = true,
  15. bool useEnumExtension = true,
  16. bool enumUnknownDefaultCase = false,
  17. String? sourceFolder,
  18. Wrapper wrapper = Wrapper.none,
})

Implementation

const DioProperties(
    {this.dateLibrary,
    this.nullableFields,
    this.serializationLibrary,
    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,
    bool enumUnknownDefaultCase = false,
    String? sourceFolder,
    Wrapper wrapper = Wrapper.none})
    : super(
          allowUnicodeIdentifiers: allowUnicodeIdentifiers,
          ensureUniqueParams: ensureUniqueParams,
          prependFormOrBodyParameters: prependFormOrBodyParameters,
          pubAuthor: pubAuthor,
          pubAuthorEmail: pubAuthorEmail,
          pubDescription: pubDescription,
          pubHomepage: pubHomepage,
          pubName: pubName,
          pubVersion: pubVersion,
          sortModelPropertiesByRequiredFlag:
              sortModelPropertiesByRequiredFlag,
          sortParamsByRequiredFlag: sortParamsByRequiredFlag,
          sourceFolder: sourceFolder,
          useEnumExtension: useEnumExtension,
          enumUnknownDefaultCase: enumUnknownDefaultCase,
          wrapper: wrapper);