getDateFromTimestamp static method
Implementation
static String getDateFromTimestamp(int timestamp, {String? dateFormat}) {
DateTime date = DateTime.fromMillisecondsSinceEpoch(timestamp);
return DateFormat(dateFormat ?? "dd/MM/yyyy").format(date);
}