* Converts the BytesValue to a map. * @returns {Map } A map representation of the BytesValue.
()
| 78 | * @returns {Map<string, string>} A map representation of the BytesValue. |
| 79 | */ |
| 80 | asMap() { |
| 81 | const map = new Map() |
| 82 | map.set('type', this._type) |
| 83 | map.set('value', this._value) |
| 84 | return map |
| 85 | } |
| 86 | } |
| 87 | |
| 88 | /** |