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