formatTimestamp static method
Implementation
static String formatTimestamp(int? timestamp, {String? format}) {
if (timestamp == null) {
return '';
}
var date = DateTime.fromMillisecondsSinceEpoch(timestamp);
return Formatter.formatDate(date, format: format);
}