safe_converter 1.0.0 copy "safe_converter: ^1.0.0" to clipboard
safe_converter: ^1.0.0 copied to clipboard

A high-performance utility for safely converting dynamic values to specific types (int, double, bool, DateTime, etc.) without runtime exceptions.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add safe_converter

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

dependencies:
  safe_converter: ^1.0.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:safe_converter/safe_converter.dart';
0
likes
0
points
175
downloads

Publisher

unverified uploader

Weekly Downloads

A high-performance utility for safely converting dynamic values to specific types (int, double, bool, DateTime, etc.) without runtime exceptions.

Repository (GitHub)
View/report issues

Topics

#json #conversion #type-safety #utilities

License

unknown (license)

More

Packages that depend on safe_converter