updateComponent function
Future<ApiResponse<Component> >
updateComponent(
- ExsitedClient client,
- Object componentUuid,
- Object payload, {
- bool? raiseOnError,
- String? responseFormat,
PATCH /api/{api_version}/component/{component_uuid}
Update a component definition, the cmp_ id, under component.
Implementation
Future<ApiResponse<Component>> updateComponent(
ExsitedClient client,
Object componentUuid,
Object payload, {
bool? raiseOnError,
String? responseFormat,
}) =>
client.sendPatchRequest(CustomComponentsUrls.componentByUuid,
pathParams: {'component_uuid': componentUuid},
jsonBody: payload,
raiseOnError: raiseOnError,
responseFormat: responseFormat,
dtoDecoder: Component.fromMap);