getEndpoint function

String getEndpoint(
  1. String path
)

A utility function that returns a full URL to the DiffRhythm.ai service.

Implementation

String getEndpoint(String path) {
  return '$kBaseUrl$path';
}