lines property

List<String> lines

Implementation

List<String> get lines {
  try {
    return resultMessage
        .toString()
        .split('\n')
        .where((e) => e.trim().isNotEmpty)
        .toList();
  } catch (e) {
    return [resultMessage];
  }
}