stdoutAsString property

String get stdoutAsString

Out as string

Implementation

String get stdoutAsString {
  var text = _outputAsText(stdout, _shell.options.stdoutEncoding);
  if (text != null) {
    return text;
  }
  throw ArgumentError('Unsupported stdout type: ${stdout.runtimeType}');
}