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