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

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
140
points
45
downloads

Publisher

verified publishertguzel.dev

Weekly Downloads

Package to access the https://dictionaryapi.dev

Repository (GitHub)
View/report issues

Topics

#api #english #dictionary

Documentation

API reference

License

MIT (license)

Dependencies

http

More

Packages that depend on free_dictionary_api_v2