convert_extensions 0.1.0 copy "convert_extensions: ^0.1.0" to clipboard
convert_extensions: ^0.1.0 copied to clipboard

Common convert methods exposed as static extensions method from the Dart core library and the convert package. Base64, ASCII, UTF8, Latin1, JSON, and more.

convert_extensions #

Common convert methods exposed as static extensions method from the Dart core library and the convert package. Base64, ASCII, UTF8, Latin1, JSON, and more.

The convert_extensions package is a collection of extension methods based on the dart:convert core library, the package:convert package by the Dart team, and other conversion methods that are found in the Dart language.

These extension methods make it easier to read and write code that uses conversions is it hides the conversion complexity behind expressive getters and methods.

Encode or decode with UTF8, Base64, JSON (and many more) with a simple and expressive API.

Continuous Integration codecov convert_extensions Published by dartside.dev GitHub Stars Count

If you enjoy using this package, a thumbs-up on pub.dev would be highly appreciated! 👍💙.

Motivation #

TODO:

  • old api is clunky and I had to look up the exact conversion every time I used these...
  • with this package, code reads better, auto complete and IDE support much better
  • todo add good examples, chaining, combinations, etc
  • clarify that it is just extension methods, func comes from either the dart core or convert package

Usage #

TODO:

2
likes
160
pub points
53%
popularity

Publisher

verified publisherdartside.dev

Common convert methods exposed as static extensions method from the Dart core library and the convert package. Base64, ASCII, UTF8, Latin1, JSON, and more.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

convert

More

Packages that depend on convert_extensions