Base Uri | Coderz Product

base_uri

Last updated:

0 purchases

base_uri Image
base_uri Images

Free

Languages

Categories

Add to Cart

Description:

base uri

base_uri #
A tiny wrapper around Uri to easily define a base uri. Supports api versions.
Getting Started #
Create a base Uri
final BASE_URI = BaseUri(
scheme: 'https',
host: 'example.com',
version: 'v1',
);
copied to clipboard
then use it accross your app
BASE_URI.useWith('/path'); // https://example.com/v1/path
BASE_URI.useWith('/path', queryParameters: {'test': 'yes'}); // https://example.com/v1/path?test=yes
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product: (if this is empty don't purchase this product)

Customer Reviews

There are no reviews.