update method
PATCH /api/templates/{namespace}/{name}
Implementation
Future<Template> update({
required String namespace,
required String name,
required Template requestBody,
}) async {
return await _dioService.request<Template, Template>(
path: Uri(
path: '/api/templates/$namespace/$name',
),
body: requestBody.toJson(),
method: HttpMethod.patch,
);
}