@override Object toJson() => { if (searchStrategyType case final searchStrategyType?) 'searchStrategyType': searchStrategyType.toJson(), };