broadcastResponse method

void broadcastResponse(
  1. String value
)

Implementation

void broadcastResponse(String value) {
  if (!logEnabled) return;
  if (onResponse == null) return;
  String prompt = "[CCRestApi - Response] $value";
  print(prompt);
  onResponse!(prompt);
}