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