patch method
Implementation
@override
Future patch(ApiRequest request) async {
if (!allowPatch) {
throw ApiRequestException.methodNotAllowed();
}
final json = await request.getJsonBody();
final data = bean.toObject(json);
final result = await patchElement(data);
return {'result': result};
}