indentForError static method

String indentForError(
  1. int position
)

Implementation

static String indentForError(int position) {
  return '${List<String>.filled(position, ' ').join()}^';
}