buildbucket 0.4.0

dart-buildbucket #

Dart bindings for the Chrome builbucket api

Example #

See example/ for example usage

0.3.1 #

  • Update buildbucket API to newest version
  • Re-generate API client stubs via discoveryapis_generator-0.9.10

Use this package as a library

1. Depend on it

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

  buildbucket: ^0.4.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:buildbucket/buildbucket.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Feb 13, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.5

Health suggestions

Fix lib/buildbucket.dart. (-25 points)

Analysis of lib/buildbucket.dart reported 184 hints, including:

line 28 col 27: Use = to separate a named parameter from its default value.

line 29 col 30: Use = to separate a named parameter from its default value.

line 31 col 13: Unnecessary new keyword.

line 48 col 9: Don't explicitly initialize variables to null.

line 49 col 24: Unnecessary new keyword.

Maintenance suggestions

Package is getting outdated. (-29.86 points)

The package was last published 67 weeks ago.

The package description is too short. (-4 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and buildbucket.dart. Packages with multiple examples should provide example/

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.0.0-dev.22.0 <3.0.0
_discoveryapis_commons >=0.1.0 <0.2.0 0.1.9
http >=0.11.1 <0.13.0 0.12.0+4
Transitive dependencies
async 2.4.0
charcode 1.1.3
collection 1.14.12
http_parser 3.1.3
meta 1.1.8
path 1.6.4
pedantic 1.9.0
source_span 1.6.0
string_scanner 1.0.5
term_glyph 1.1.0
typed_data 1.1.6
Dev dependencies
test >=0.12.0 <2.0.0