getUriRootURL function

String getUriRootURL({
  1. bool suppressPort80 = true,
  2. int? port,
})

Returns base Uri as URL string.

Implementation

String getUriRootURL({bool suppressPort80 = true, int? port}) {
  return '${getUriBaseScheme()}://${getUriBaseHostAndPort(suppressPort80: suppressPort80, port: port)}/';
}