static String formatSql(String sql) { String returnSql = sql.trim(); returnSql = returnSql.replaceAll(RegExp(r"\s+|\s"), " "); return returnSql; }