@override String? toJson(DateTime? date) { if (date == null) return null; return date.toIso8601String(); }