chopper_generator 0.1.0

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 72

Chopper is an http client generator using source_gen and inspired from Retrofit.

Changelog

0.1.0

  • update dart sdk

0.0.2

  • the generated extension is now *.chopper.dart

  • rename ServiceDefinition to ChopperApi

  • rename ChopperClient.services field to ChopperClient.apis

0.0.1

  • Initial version, created by Stagehand

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:


dependencies:
  chopper_generator: ^0.1.0

2. Install it

You can install packages from the command line:

with pub:


$ pub get

Alternatively, your editor might support pub get. Check the docs for your editor to learn more.

3. Import it

Now in your Dart code, you can use:


import 'package:chopper_generator/chopper_generator.dart';
  
Version Uploaded Documentation Archive
0.1.0 Aug 1, 2018 Go to the documentation of chopper_generator 0.1.0 Download chopper_generator 0.1.0 archive
0.0.2 Apr 8, 2018 Go to the documentation of chopper_generator 0.0.2 Download chopper_generator 0.0.2 archive
0.0.1 Apr 7, 2018 Go to the documentation of chopper_generator 0.0.1 Download chopper_generator 0.0.1 archive
Popularity:
Describes how popular the package is relative to other packages. [more]
43
Health:
Code health derived from static analysis. [more]
100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100
Overall:
Weighted score of the above. [more]
72
Learn more about scoring.

We analyzed this package on Aug 10, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.0.0
  • pana: 0.11.8

Platforms

Detected platforms: other

Primary library: package:chopper_generator/chopper_generator.dart with components: io, isolate, build, mirrors.

Suggestions

Package is pre-v1 release.

While there is nothing inherently wrong with versions of 0.*.*, it usually means that the author is still experimenting with the general direction of the API.

Maintain an example.

Create a short demo in the example/ directory to show how to use this package. Common file name patterns include: main.dart, example.dart or you could also use chopper_generator.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <3.0.0
analyzer ^0.32.0 0.32.4
build ^0.12.0 0.12.7+3
chopper ^0.1.0 0.1.0
code_builder ^3.0.0 3.1.2
dart_style ^1.0.10 1.1.3
logging ^0.11.0 0.11.3+2
meta ^1.1.2 1.1.6
source_gen ^0.8.0 0.8.3+1 0.9.0+1
Transitive dependencies
args 1.5.0
async 2.0.8
built_collection 3.1.3
built_value 5.5.5 6.0.0
charcode 1.1.2
collection 1.14.11
convert 2.0.2
crypto 2.0.6
csslib 0.14.4+1
fixnum 0.10.8
front_end 0.1.4
glob 1.1.7
html 0.13.3+2
http 0.11.3+17
http_parser 3.1.3
kernel 0.3.4
matcher 0.12.4
package_config 1.0.5
path 1.6.2
plugin 0.2.0+3
quiver 2.0.0+1
source_span 1.4.1
stack_trace 1.9.3
string_scanner 1.0.3
typed_data 1.1.6
utf 0.9.0+5
watcher 0.9.7+10
yaml 2.1.15
Dev dependencies
test ^1.3.0