class TimeUtil { static DateTime getDateTime(json) { if (json == null) { return null; } return DateTime.parse(json); } }