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