put<Input, Output> abstract method
Future<ServiceResult>
put<Input, Output>(
- Input input, {
- Map<
String, String> ? queryParams, - HeaderBuilder? headerBuilder,
For Rest/ PUT operation. When doing PUT you have to define the return type expected, even if it is the same as Input In case no return value is expected, you must use NoResponseExpected, for instance: put<Car,NoResponseExpected>(myCar); It is possible to define a specific HeaderBuilder
Implementation
Future<ServiceResult> put<Input, Output>(Input input,
{Map<String, String>? queryParams, HeaderBuilder? headerBuilder});