getBirthDate function
Implementation
String getBirthDate(String bDate) {
String dateValue = "";
try {
final DateTime date1 = DateTime.fromMillisecondsSinceEpoch(int.parse(bDate) * 1000);
String startDateFormat = DateFormat('dd MMM yyyy').format(date1);
dateValue = startDateFormat;
} catch (e) {
print(e);
}
return dateValue;
}