replace method

dynamic replace({
  1. required String value,
  2. required Endpoint endpoint,
})

Implementation

replace({required String value, required Endpoint endpoint}) {
  return endpoint.replace("{}", value);
}