appendTimestamp method Null safety

void appendTimestamp(
  1. DateTime dateTime,
  2. {TimeStampStyle style = TimeStampStyle.def}
)

Appends timestamp to message from dateTime

Implementation

void appendTimestamp(DateTime dateTime, {TimeStampStyle style = TimeStampStyle.def}) =>
    this.append(style.format(dateTime));