Last updated:
0 purchases
json serializable chopper converter
Converter for the chopper library using JsonSerializable models.
Features #
Full test coverage
Easily integrates into chopper
Supports generic responses
Usage #
final client = ChopperClient(
services: [
_$ApiService(),
],
converter: JsonSerializableConverter({
PostResource: PostResource.fromJson,
}),
);
copied to clipboard
Other packages #
If you need ready-made JsonSerializable converters for other common types, take a look at these packages:
json_serializable_uuid_converter
json_serializable_converters
json_serializable_flutter_converters
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.