Search packages, repositories and app categories

Package detailsv3.4.0

chopper_built_value

A built_value based Converter for Chopper.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
517
Likes
6
Pub points
140

Install package

flutter pub add chopper_built_value

Package Overview

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

A converter for Chopper that integrates built_value for type-safe, efficient JSON serialization and deserialization. It leverages built_value's immutable data classes and code generation to ensure robust, maintainable API client code. This package simplifies working with REST APIs in Flutter by automatically generating serialization logic, reducing boilerplate and minimizing runtime errors. Ideal for developers who prioritize type safety and performance in data handling.

Use cases

  • Serializing and deserializing API responses
  • Creating immutable data models
  • Generating type-safe API clients
  • Handling complex nested JSON structures
  • Reducing boilerplate in data layer code

Key features

  • Built-in support for built_value
  • Automatic code generation
  • Immutable data models
  • Type-safe JSON conversion
  • Seamless integration with Chopper

Suitable for

  • Developers using built_value
  • Projects requiring strong type safety
  • API-heavy applications
  • Teams focused on maintainable code
  • Flutter apps with complex data models

Considerations

  • Requires built_value setup
  • Additional build step needed
  • Learning curve for built_value
  • Not suitable for simple flat JSON
  • Limited to Chopper-based HTTP clients

Original README

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

Chopper

All Contributors

pub package Dart CI codecov

Chopper is an http client generator for Dart and Flutter using source_gen and inspired by Retrofit.

Documentation

Installation

Please refer to the installation guide at pub.dev or in the Getting started document.

Examples

Issue Tracker

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Hadrien Lejard

💻 👀 ⚠️ 📖

István Juhos

💻 👀 ⚠️ 📖

Klemen Tusar

💻 👀 ⚠️ 📖

Ivan Terekhin

💻 👀 ⚠️ 📖

Job Guldemeester

💻 👀 ⚠️ 📖

Eugeny Sampir

💻

Uladzimir Paliukhovich

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.