toKey property
When serializing to REST, the payload may need to be nested within a top level key.
Example Given the desired payload:
{ "user" : {"id" : 1, "name" : "Thomas" }}
The toKey would be "user"
.
This field is copied to the Adapter
.
Implementation
final String? toKey;