rick_and_morty_api

Last updated:

0 purchases

rick_and_morty_api Image
rick_and_morty_api Images
Add to Cart

Description:

rick and morty api

The Rick and Morty API Dart Wrapper #
This is a Dart wrapper to use the The Rick and Morty API
To get started check the documentation on rickandmortyapi.com
Basic Usage #
import 'package:rick_and_morty_api/rick_and_morty_api.dart';

final episodeService = EpisodeService();

// This function will print all episode names
void allEpisodes() async {
List<Episode> episodes = await episodeService.getAllEpisodes();
for (final episode in episodes) {
debugPrint(episode.name);
}
}
copied to clipboard
Complete Usage #
The complete usage is in the example directory

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.