printDebug method

void printDebug(
  1. String str
)

Implementation

void printDebug(String str) {
  if (debug) {
    print('DDP[${_socket.hashCode}] - ${DateTime.now()}');
    print('DDP[${_socket.hashCode}] - $str');
  }
}