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