getDateFromTimeStamp static method
Implementation
static String getDateFromTimeStamp(int timestamp) {
final date = DateTime.fromMillisecondsSinceEpoch(timestamp * 1000);
final dateFormat = DateFormat(DateTimeFormatConstants.ddMMyyyy);
return dateFormat.format(date);
}