toFormat method

String toFormat(
  1. String format
)

Implementation

String toFormat(String format) {
  final f = DateFormat(format);
  return f.format(this);
}