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