firstLine property

String? firstLine

Returns the first line from the command or null if no lines where returned

Implementation

String? get firstLine {
  String? line;
  final lines = toList();
  if (lines.isNotEmpty) {
    line = lines[0];
  }
  return line;
}