dio_client_extended 0.0.1 copy "dio_client_extended: ^0.0.1" to clipboard
dio_client_extended: ^0.0.1 copied to clipboard

This is a simplified implementation of Dio it helps quickly have dio implementation in their projects.

dio_client_extended #

This is a simplified implementation of Dio it helps quickly have dio implementation in their projects.

Features #

This package contains get, post, delete, put & patch methods

Getting started #

Kindly initialize the DioClientExtended object with your baseUrl and start accessing all methods.

Usage #

///[DioClientExtended] object instantiation
final dioClient =
DioClientExtended(baseUrl: 'https://jsonplaceholder.typicode.com');
try {
///calling of the methods

final response = await dioClient.get(path: '/posts');
if (response.statusCode == 200) {
debugPrint(jsonEncode(response.data));
} else {
debugPrint(response.statusMessage);
}
} on Exception catch (e) {
debugPrint('Error: $e');
}

Additional information #

More information can be found on Website Credits goes to Dio contributors as this package depends on it.

1
likes
140
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

This is a simplified implementation of Dio it helps quickly have dio implementation in their projects.

Homepage

Documentation

API reference

License

unknown (license)

Dependencies

dio, flutter, flutter_web_plugins, plugin_platform_interface

More

Packages that depend on dio_client_extended