broadcastConnection method

void broadcastConnection(
  1. String value
)

Implementation

void broadcastConnection(String value) {
  if (!logEnabled) return;
  if (onConnection == null) return;
  String prompt = "[CCRestApi - Connection] $value";
  print(prompt);
  onConnection!(prompt);
}