atonline_api 0.4.22
atonline_api: ^0.4.22 copied to clipboard
AtOnline API tools for Flutter, for use with AtOnline.com APIs including CMS, Naka, etc.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate atonline_api
Use it
The package has the following executables:
$ atonline_describe
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add atonline_api
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
atonline_api: ^0.4.22
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:atonline_api/atonline_api.dart';