format method

String format(
  1. String pattern
)

Implementation

String format(String pattern) => DateFormat(pattern).format(this);