core.Map<core.String, core.dynamic> toJson() => { if (redisVersion != null) 'redisVersion': redisVersion!, };