Search packages, repositories and app categories

Package detailsv3.1.2

convert

Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types.

AndroidiOSLinuxmacOSWebWindows
30-day downloads
13.2M
Likes
141
Pub points
160

Install package

flutter pub add convert

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

The convert package provides utilities for transforming data between different representations, such as encoding and decoding JSON, base64, and other formats. It includes core types like Codec, Encoder, Decoder, and Sink to streamline data processing workflows. Designed for use in Dart applications across multiple platforms, it supports seamless integration with parsing and serialization tasks. This package is part of the Dart SDK’s core libraries, ensuring reliability and consistency.

Use cases

  • JSON serialization
  • Base64 encoding/decoding
  • Data format transformation
  • Stream-based data processing
  • Interoperability with web APIs
  • Parsing structured text

Key features

  • Built-in JSON codec
  • Base64 support
  • Stream-compatible sinks
  • Extensible encoder/decoder design
  • Part of Dart SDK core
  • Cross-platform compatibility

Suitable for

  • Web and mobile apps
  • Backend services
  • Data pipeline development
  • API clients
  • Text processing tools
  • Dart SDK integrations

Considerations

  • Requires understanding of codecs and streams
  • Limited to basic data formats
  • Not intended for complex schema validation
  • Depends on Dart SDK core
  • No built-in error recovery
  • Best used with other parsing packages

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Overview

This repository is home to various Dart packages under the dart.dev publisher.

Packages

Package Description Issues Version
args Library for defining parsers for parsing raw command-line arguments into a set of options and values using GNU and POSIX style options. issues pub package
async Utility functions and classes related to the 'dart:async' library. issues pub package
characters String replacement with operations that are Unicode/grapheme cluster aware. issues pub package
collection Collections and utilities functions and classes related to collections. issues pub package
convert Utilities for converting between data representations. Provides a number of Sink, Codec, Decoder, and Encoder types. issues pub package
crypto Implementations of SHA, MD5, and HMAC cryptographic functions. issues pub package
fixnum Library for 32- and 64-bit signed fixed-width integers with consistent behavior between native and JS runtimes. issues pub package
lints Official Dart lint rules. Defines the 'core' and 'recommended' set of lints suggested by the Dart team. issues pub package
logging Provides APIs for debugging and error logging, similar to loggers in other languages, such as the Closure JS Logger and java.util.logging.Logger. issues pub package
os_detect Platform independent OS detection. issues pub package
path A string-based path manipulation library. issues pub package
platform A pluggable, mockable platform information abstraction for Dart. issues pub package
typed_data Utility functions and classes related to the dart:typed_data library. issues pub package

Publishing automation

For information about our publishing automation and release process, see https://github.com/dart-lang/ecosystem/wiki/Publishing-automation.

For additional information about contributing, see our contributing page.

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

Rankings