void readFromMap(Map<String, dynamic> requestBody)

Reads values from requestBody into an object.

This method is invoked when an HTTPController property or responder method argument is bound with HTTPBody. requestBody is the request body of the incoming HTTP request, decoded according to its content-type.

Source

void readFromMap(Map<String, dynamic> requestBody);