getIndexString method

String? getIndexString(
  1. int index
)

Implementation

String? getIndexString(int index) => switch (debug) {
      true => darkGray.wrap('($index) '),
      _ => '',
    };