ifNull method

Printer<T?> ifNull([
  1. String label = '\u2400'
])

Prints label, if the object to be printed is null. Uses the unicode symbol for null by default: https://unicode-table.com/en/2400/.

Implementation

Printer<T?> ifNull([String label = '\u2400']) => NullPrinter<T>(this, label);