@@ -521,14 +521,6 @@ class DioProperties extends AdditionalProperties {
521
521
}
522
522
523
523
class DioAltProperties extends AdditionalProperties {
524
- /// Changes the minimum version of Dart to 2.12 and generate null safe code
525
- final bool ? nullSafe;
526
-
527
- /// nullSafe-array-default
528
- /// Makes even arrays that are not listed as being required in your OpenAPI "required"
529
- /// but making them always generate a default value of []
530
- final bool ? nullSafeArrayDefault;
531
-
532
524
/// This will turn off AnyOf support. This would be a bit weird, but you can do it if you want.
533
525
final bool ? listAnyOf;
534
526
@@ -541,8 +533,7 @@ class DioAltProperties extends AdditionalProperties {
541
533
final String ? pubspecDevDependencies;
542
534
543
535
const DioAltProperties (
544
- {this .nullSafe,
545
- this .nullSafeArrayDefault,
536
+ {
546
537
this .pubspecDependencies,
547
538
this .pubspecDevDependencies,
548
539
this .listAnyOf,
@@ -580,18 +571,13 @@ class DioAltProperties extends AdditionalProperties {
580
571
wrapper: wrapper);
581
572
582
573
DioAltProperties .fromMap (Map <String , dynamic > map)
583
- : nullSafe = map['nullSafe' ],
584
- nullSafeArrayDefault = map['nullSafeArrayDefault' ],
585
- listAnyOf = map['listAnyOf' ],
574
+ : listAnyOf = map['listAnyOf' ],
586
575
pubspecDependencies = map['pubspecDependencies' ],
587
576
pubspecDevDependencies = map['pubspecDevDependencies' ],
588
577
super .fromMap (map);
589
578
590
579
Map <String , dynamic > toMap () => Map .from (super .toMap ())
591
580
..addAll ({
592
- if (nullSafe != null ) 'nullSafe' : nullSafe,
593
- if (nullSafeArrayDefault != null )
594
- 'nullSafeArrayDefault' : nullSafeArrayDefault,
595
581
if (listAnyOf != null ) 'listAnyOf' : listAnyOf,
596
582
if (pubspecDependencies != null )
597
583
'pubspecDependencies' : pubspecDependencies,
0 commit comments