formatBlockEntry method

String formatBlockEntry(
  1. String entry,
  2. String indentation, {
  3. required bool isNotFirst,
})
inherited

Formats a block map/iterable entry before it is buffered.

Implementation

String formatBlockEntry(
  String entry,
  String indentation, {
  required bool isNotFirst,
}) => isNotFirst ? '$indentation$entry' : entry;