formatAsyMd method

String formatAsyMd([
  1. String? locale
])

Formats the DateTime object using the yMd format and optional locale.

Implementation

String formatAsyMd([String? locale]) => DateFormat.yMd(locale).format(this);