DateTime? dateTimeOf(json) { if (json == null) return null; return DateTime.parse(json.toString()); }