Note: the fields in the request needs to match the object in the backend so that the json conversion will work properly when a response has been received.
Note that the field names in the request should match the names of the corresponding object on the backend. This is necessary to ensure that the JSON conversion works correctly when a response is received.
To check for equality (such as `if (request == createPlayerRequest)`), the request has a props method from Equatable that overrides the default props method: