toString method

  1. @override
String toString({
  1. bool debug = false,
})
override

Returns a String-representation of this Query.

Implementation should aim to provide a format that can be parsed to the same form.

debug is used to extend the format with additional characters, making testing unambiguous.

Implementation

@override
String toString({bool debug = false}) => _debug(
    debug,
    '${_sp(true, startInclusive)}${start.toString(debug: debug)} TO '
    '${end.toString(debug: debug)}${_sp(false, endInclusive)}');