format method

String format([
  1. DateFormat? df
])

Implementation

String format([DateFormat? df]) => (df ?? DateFormats.datetime).format(this);