convertTime function

String convertTime(
  1. String format,
  2. int time,
  3. bool isUTC,
  4. String languageCode
)

Implementation

String convertTime(String format, int time, bool isUTC, String languageCode) {
  return DateFormat(format, languageCode).format(DateTime.fromMillisecondsSinceEpoch(time, isUtc: isUTC));
}