Skip to main content

dto_logger 1.1.0 copy "dto_logger: ^1.1.0" to clipboard
dto_logger: ^1.1.0 copied to clipboard

Debug-only logging and safe type coercion for JSON DTOs in Flutter/Dart. Generate classes from JSON, see nulls, missing keys, type mismatches and unused fields per model.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add dto_logger

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  dto_logger: ^1.1.0

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:dto_logger/dto_logger.dart';
15
likes
0
points
581
downloads

Publisher

unverified uploader

Weekly Downloads

Debug-only logging and safe type coercion for JSON DTOs in Flutter/Dart. Generate classes from JSON, see nulls, missing keys, type mismatches and unused fields per model.

License

unknown (license)

Dependencies

analyzer, build, source_gen

More

Packages that depend on dto_logger