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

Show the correct json format, easy to copy and use for many purposes.

flutter_pretty_dio_logger #

Show the correct json format, easy to copy and use.

Usage #

import 'package:flutter_pretty_dio_logger/flutter_pretty_dio_logger.dart';
Dio dio = Dio();
dio.interceptors.add(
  PrettyDioLogger(
    requestHeader: true,
    queryParameters: true,
    requestBody: true,
    responseHeader: true,
    responseBody: true,
    error: true,
    showProcessingTime: true,
    debugOnly: true,
  ),
);

How it looks like #

Response Example

This package is inspired by the pretty_dio_logger package.

25
likes
150
points
25.5k
downloads

Publisher

unverified uploader

Weekly Downloads

Show the correct json format, easy to copy and use for many purposes.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter

More

Packages that depend on flutter_pretty_dio_logger