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