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

Convert between uri and your data model.

Convert between uri and your data model.

Details #

The data model needs to be serializable to json.

The resulting json must contain a top level "path" key, which will correspond to the uri's path. Other entries will be represented by query parameters.

Works well with freezed. Just use @Freezed(unionKey: 'path').

Checkout the tests for recommended setup and conversion result.

0
likes
0
points
31
downloads

Publisher

verified publishermartinsellergren.dev

Weekly Downloads

Convert between uri and your data model.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

cartesian_product, collection

More

Packages that depend on uri_converter