format property

String Function(String) format
getter/setter pair

May override to provide a function to format Dart on equalsDart.

By default, uses collapseWhitespace, but it is recommended to instead use dart_style (dartfmt) where possible. See test/common.dart for an example.

Implementation

static String Function(String) format = collapseWhitespace;