readStackTraces static method

Future<StackTrace?> readStackTraces(
  1. ByteStream in_
)

Deserialize an array of StackTraceElement variable.

@param in the stream to be read @return the deserialized array @throws IOException if an exception occurs while writing to the stream

Implementation

static Future<StackTrace?> readStackTraces(ByteStream in_) async {
  castTest('StackTrace', stacktraceUid, await readRawLong(in_));
  final string = await readString(in_);
  if (string == null) return null;
  return StackTrace.fromString(string);
}