format property Null safety

String Function(String) format
read / write

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;