We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, I'd like to make a suggestion! In my opinion, It would be awesome if generator get default values for annotations parameters (Query, Path)
To explain beter, I'd like to provide an example
@Get(url: "users") Future<Response> fetchUsers({ @Query() int limit=300 });
Generates:
Future<Response> fetchUsers({int limit=300}) {}
Or Maybe if annotations got new property, and you can send to generator
class Query { final String name; final dynamic defaultValue; ... }
And use:
@Get(url: "users") Future<Response> fetchUsers({ @Query(defaultValue: 300) int limit });
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, I'd like to make a suggestion!
In my opinion, It would be awesome if generator get default values for annotations parameters (Query, Path)
To explain beter, I'd like to provide an example
Generates:
Or Maybe if annotations got new property, and you can send to generator
And use:
The text was updated successfully, but these errors were encountered: