jsonRepresentation method
Implementation
String jsonRepresentation() {
return convertToJsonString({
'from': this.from.jsonRepresentation(),
'to': this.to.jsonRepresentation()
});
}
String jsonRepresentation() {
return convertToJsonString({
'from': this.from.jsonRepresentation(),
'to': this.to.jsonRepresentation()
});
}