createData
Call createdData with the data returned from underlying behavior's implementation of
createData.
createData(instanceData, cid)
Extends the underlying behavior's createData to call createdData with the returned
response data. The result of the call to createdData will be used as the new response data.
Parameters
- instanceData
{Object}:the raw data of an instance
- cid
{Number}:unique id that represents the instance that is being created
Returns
{Promise<Object>}:
Promise resolving the raw response data, possibly modified by createdData.