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