chopper_generator 0.0.2

  • README.md
  • CHANGELOG.md
  • Installing
  • Versions
  • 54

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

Changelog

0.0.2

  • the generated extension is now *.g.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.0.2"

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.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

Analysis

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

  • Dart: 2.0.0-dev.63.0
  • pana: 0.11.3

Scores

Popularity:
Describes how popular the package is relative to other packages. [more]
9 / 100
Health:
Code health derived from static analysis. [more]
99 / 100
Maintenance:
Reflects how tidy and up-to-date the package is. [more]
100 / 100
Overall score:
Weighted score of the above. [more]
54
Learn more about scoring.

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 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.

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 1 hint.

    Run dartfmt to format lib/src/generator.dart.

Dependencies

Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev <2.0.0
analyzer ^0.31.1 0.31.2-alpha.2 0.32.1
build ^0.12.0 0.12.6
chopper ^0.0.2 0.0.3
code_builder ^3.0.0 3.1.0
dart_style ^1.0.10 1.1.0
logging ^0.11.0 0.11.3+1
meta ^1.1.2 1.1.5
source_gen >=0.8.0 <0.9.0 0.8.2
Transitive dependencies
args 1.4.3
async 2.0.7
built_collection 3.1.1
built_value 5.5.2
charcode 1.1.1
collection 1.14.10
convert 2.0.1
crypto 2.0.5
csslib 0.14.4
fixnum 0.10.7
front_end 0.1.0-alpha.12 0.1.1
glob 1.1.5
html 0.13.3+1
http 0.11.3+16
http_parser 3.1.2
kernel 0.3.0-alpha.12 0.3.1
matcher 0.12.3
package_config 1.0.3
path 1.6.1
plugin 0.2.0+2
quiver 0.29.0+1
source_span 1.4.0
stack_trace 1.9.2
string_scanner 1.0.2
typed_data 1.1.5
utf 0.9.0+4
watcher 0.9.7+8
yaml 2.1.14
Dev dependencies
test ^0.12.0