core.Map<core.String, core.dynamic> toJson() { final card = this.card; final cardId = this.cardId; return {'card': ?card, 'cardId': ?cardId}; }