Generator enum
The name of the generator to use
Constructors
- Generator()
-
const
Values
- dart → const Generator
-
This generator uses the default http package that comes with dart corresponds to dart
- dio → const Generator
-
This generator uses the dio package. Source gen is required after generating code with this generator corresponds to dart-dio
A powerful Http client for Dart, which supports Interceptors, Global configuration, FormData, Request Cancellation, File downloading, Timeout etc https://pub.flutter-io.cn/packages/dio
- dioAlt → const Generator
-
This uses the generator provided by bluetrainsoftware which internally uses the dio package
You can read more about it here https://github.com/dart-ogurets/dart-openapi-maven
Properties
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