trimSql method Null safety

String trimSql()

Implementation

String trimSql() {
  final idx = statement.toLowerCase().indexOf('where');
  return statement.substring(idx);
}