@override DateTime? fromJson(Object? json) => json is num ? DateTime.fromMillisecondsSinceEpoch(json * 1000 as int) : null;