timestampToString static method

String timestampToString(
  1. int timestamp
)

Implementation

static String timestampToString(int timestamp) {
  DateTime dateTime = DateTime.fromMillisecondsSinceEpoch(timestamp);
  return dateTime.toString();
}