broadcastError method

void broadcastError(
  1. String value
)

Implementation

void broadcastError(String value) {
  if (!logEnabled) return;
  if (onError == null) return;
  String prompt = "[CCRestApi - Error] $value";
  print(prompt);
  onError!(prompt);
}