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

Safe parsing utility for Flutter — convert dynamic values into safe String, int, double, bool, DateTime, List, and more.

parsing_util #

A simple and safe parsing utility for Flutter & Dart. Easily convert dynamic values into safe types (String, int, double, bool, DateTime, List, etc.) without throwing errors.
Includes handy String extensions (orEmpty, orNullString).


Features #

  • ✅ Safe parsing for all common types
  • ✅ Converts String, int, double, bool, DateTime, and List
  • ✅ Avoids runtime crashes by falling back to default values
  • ✅ Built-in validation for IDs (toValidId)
  • ✅ Lightweight and easy to use
  • ✅ Useful String extensions (orEmpty, orNullString)

Getting started #

Add this to your pubspec.yaml:

dependencies:
parsing_util: ^0.0.1

License #

This project is licensed under the MIT License - see the LICENSE file for details.

8
likes
140
points
123
downloads

Publisher

unverified uploader

Weekly Downloads

Safe parsing utility for Flutter — convert dynamic values into safe String, int, double, bool, DateTime, List, and more.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, foundation

More

Packages that depend on parsing_util