fromIntToDate method

String fromIntToDate()

Implementation

String fromIntToDate() {
  // initializeDateFormatting('in');
  // const locale = 'in';
  final df = DateFormat('dd MMMM yyyy');
  final item = toString().substring(0, 10);
  return df.format(DateTime.fromMillisecondsSinceEpoch(int.parse(item) * 1000));
}