toJson method
Implementation
Map<String, Object?> toJson() {
var encodedValue = this.encodedValue;
var value = this.value;
final json = <String, Object?>{};
if (encodedValue != null) {
json[r'encodedValue'] = encodedValue;
}
json[r'value'] = value;
return json;
}