toLogString method

String toLogString()

Implementation

String toLogString() {
  int totalBytes = 0;
  for (final Uint8List chunk in audioDataList) {
    totalBytes += chunk.length;
  }
  String res = "msgID:$msgID|audioDataCount:${audioDataList.length}|audioDataBytes:$totalBytes|isFinished:$isFinished";
  return res;
}