dateTime static method

String dateTime(
  1. DateTime dt
)

e.g. "Mar 5, 2026 14:30"

Implementation

static String dateTime(DateTime dt) =>
    DateFormat('MMM d, y HH:mm').format(dt);