toStringPrinter property

  1. @override
ObjectPrinter get toStringPrinter
override

Override and call super to add values to the ObjectPrinter.

Implementation

@override
ObjectPrinter get toStringPrinter => super.toStringPrinter
  ..addValue(type)
  ..addValue(sourceStart, name: 'sourceStart')
  ..addValue(sourceEnd, name: 'sourceEnd')
  ..addValue(targetStart, name: 'targetStart')
  ..addValue(targetEnd, name: 'targetEnd');