dart_swapi 0.1.0 icon indicating copy to clipboard operation
dart_swapi: ^0.1.0 copied to clipboard

A Dart plugin implementation of the SWAPI (The Star Wars API)

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dart_swapi

With Flutter:

 $ flutter pub add dart_swapi

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dart_swapi: ^0.1.0

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

Import it

Now in your Dart code, you can use:

import 'package:dart_swapi/dart_swapi.dart';
0
likes
90
pub points
0%
popularity

Publisher

verified publisher iconthelabs.dev

A Dart plugin implementation of the SWAPI (The Star Wars API)

Repository (GitHub)

Documentation

API reference

License

Icon for licenses.MIT (LICENSE)

Dependencies

http

More

Packages that depend on dart_swapi