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