free_dictionary_api_v2 1.0.1 copy "free_dictionary_api_v2: ^1.0.1" to clipboard
free_dictionary_api_v2: ^1.0.1 copied to clipboard

outdated

Package to access the https://dictionaryapi.dev

example/lib/main.dart

import 'dart:developer' as dev;

import 'package:free_dictionary_api_v2/free_dictionary_api_v2.dart';

Future<void> main() async {
  try {
    final dictionary = FreeDictionaryApiV2();
    final response = await dictionary.getDefinition('hello');
    dev.log(response.toString());
  } on FreeDictionaryException catch (error, stackTrace) {
    dev.log('FreeDictionaryException:', error: error, stackTrace: stackTrace);
  }
}
4
likes
0
points
48
downloads

Publisher

verified publishertguzel.dev

Weekly Downloads

Package to access the https://dictionaryapi.dev

Repository (GitHub)
View/report issues

Topics

#api #english #dictionary

License

unknown (license)

Dependencies

http

More

Packages that depend on free_dictionary_api_v2