component_generator 0.1.3 copy "component_generator: ^0.1.3" to clipboard
component_generator: ^0.1.3 copied to clipboard

Annotated HTTP client code generation (REST), optional table/widget helpers, and HTTP/1.1 and HTTP/2 client bases for Dart.

example/main.dart

import 'lib/schema.dart';
import 'lib/network.dart';
import 'lib/myclient.dart';

void main() async {
  client.prefix = "http://localhost:8080";
  var result = await networkApi.login(LoginParams("admin", "123456"));
  print(result.obj);
}
1
likes
130
points
28
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Annotated HTTP client code generation (REST), optional table/widget helpers, and HTTP/1.1 and HTTP/2 client bases for Dart.

Repository (GitHub)
View/report issues

Topics

#codegen #build-runner #http

License

MIT (license)

Dependencies

analyzer, build, component_set, dart_style, path, source_gen

More

Packages that depend on component_generator