toStringDisplay static method

String toStringDisplay(
  1. DateTime dateTime
)

Implementation

static String toStringDisplay(DateTime dateTime) {
  try {
    return DateFormat(kDateDisplayFormat).format(dateTime);
  } catch (e) {
    return '';
  }
}