uriBuilder function

Uri uriBuilder(
  1. bool https,
  2. String apiEndpoint,
  3. dynamic path
)

Implementation

Uri uriBuilder(bool https, String apiEndpoint, dynamic path) {
  return https ? Uri.https(apiEndpoint, path) : Uri.http(apiEndpoint, path);
}