endpoint function

String endpoint(
  1. String value
)

Implementation

String endpoint(String value) {
  final host = dotenv.get("API_HOST");

  return "$host/$value";
}