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