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

A comprehensive utility library for parsing and transforming data types in Dart with cross-platform support and no external dependencies.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2024-01-01 #

Added #

  • Initial release of Dart Data Parser
  • Type conversion methods (getInt, getDouble, getBool, getString)
  • String manipulation utilities (uCFirst, strToTitleCase, getUrlString)
  • Data validation methods (isValidEmail, isDouble)
  • Base64 encoding/decoding functionality
  • JSON encoding/decoding for maps
  • Mathematical operations (distance calculation, random number generation)
  • File operation utilities (getFileExtension, formatBytes)
  • Collection safety methods (getDynamicList, getDynamicMap)
  • Date parsing utilities
  • Platform detection methods for all supported platforms
  • Cross-platform compatibility (Android, iOS, Web, Windows, macOS, Linux, Fuchsia)
  • Zero external dependencies
  • Comprehensive test coverage
  • Complete documentation and examples

Features #

  • Type Conversions: Safe conversion between int, double, bool, and string types
  • String Processing: Capitalization, title case, URL encoding, and text transformation
  • Data Validation: Email format validation and type checking
  • Encoding/Decoding: Base64 and JSON operations with error handling
  • Mathematical Utilities: Haversine distance calculation and random generators
  • File Operations: Extension extraction and human-readable byte formatting
  • Collection Safety: Safe list and map operations with fallback values
  • Platform Detection: Cross-platform detection for Android, iOS, Web, Windows, macOS, Linux, and Fuchsia
  • Global Instance: Ready-to-use global dataParser instance

Platform Support #

  • Mobile: Android, iOS
  • Desktop: Windows, macOS, Linux
  • Web: All modern browsers
  • Embedded: Fuchsia
  • Universal: Works across all Dart/Flutter supported platforms

Technical Details #

  • Minimum Dart SDK: 3.0.0
  • Zero external dependencies
  • Null-safe implementation
  • Comprehensive error handling
  • Full test coverage with edge cases
  • Well-documented API with examples
  • Cross-platform compatibility without conditional imports
1
likes
150
points
24
downloads

Publisher

verified publisherbaijisoft.com

Weekly Downloads

A comprehensive utility library for parsing and transforming data types in Dart with cross-platform support and no external dependencies.

Repository (GitHub)
View/report issues

Topics

#utility #parser #converter #data-manipulation #cross-platform

Documentation

Documentation
API reference

License

MIT (license)

More

Packages that depend on dart_data_parser