ResultCategories.fromJson(Map<String, Object?> json) : roomEvents = ((v) => v != null ? ResultRoomEvents.fromJson(v as Map<String, Object?>) : null)(json['room_events']);