formatCompact method Null safety

String formatCompact()

Implementation

String formatCompact() => compactFormat.format(this);