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