buildUri method

Uri buildUri({
  1. required String path,
  2. Map<String, String>? queryParameters,
})

Implementation

Uri buildUri({required String path, Map<String, String>? queryParameters}) {
  return Uri.parse("$baseUrl/$path").replace(queryParameters: queryParameters);
}