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