getBaseUrl method

String getBaseUrl({
  1. bool isServe = false,
})

Implementation

String getBaseUrl({bool isServe = false}) {
  return isServe ? 'http://127.0.0.1:${serve.port}/' : baseUrl;
}