auto_api 0.0.1-alpha.3

  • Installing
  • Versions
  • 48


It automatically creates a client interface to call server's methods asynchronously

Initial state

  • hubs_inspector can get a description of the methods in hubs.
  • added tests 89% coverage.

Use this package as a library

1. Depend on it

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

  auto_api: "^0.0.1-alpha.3"

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:auto_api/exceptions/exceptions.dart';

      import 'package:auto_api/hub.dart';

      import 'package:auto_api/hubs_inspector.dart';

      import 'package:auto_api/serializer.dart';
Version Uploaded Documentation Archive
0.0.1-alpha.3 Jan 2, 2018 Go to the documentation of auto_api 0.0.1-alpha.3 Download auto_api 0.0.1-alpha.3 archive
0.0.1-alpha.2 Jan 2, 2018 Go to the documentation of auto_api 0.0.1-alpha.2 Download auto_api 0.0.1-alpha.2 archive
0.0.1-alpha.1 Jan 2, 2018 Go to the documentation of auto_api 0.0.1-alpha.1 Download auto_api 0.0.1-alpha.1 archive


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


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


Detected platforms: web, other

Platform components identified in package: mirrors.


  • Package is pre-release.

    Pre-release versions should be used with caution, their API may change in breaking ways.

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

  • Fix analysis and formatting issues.

    Analysis or formatting checks reported 6 hints.

    Run dartfmt to format lib/exceptions/exceptions.dart.

    Run dartfmt to format lib/hub.dart.

    Similar analysis of the following files failed:

    • lib/hubs_inspector.dart (hint)
    • lib/serializer.dart (hint)
  • 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 auto_api.dart.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.23.0 <2.0.0
Dev dependencies
test ^0.12.0