postedDateTime method
Implementation
DateTime? postedDateTime() {
if (posted != null) {
try {
return DateFormat('EEE, d MMM yyyy HH:mm:ss vvv')
.parseUTC(posted!)
.toLocal();
} catch (e) {
print(e.toString());
return null;
}
}
return null;
}