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