update method

void update({
  1. required UContentUpdateParams p,
})

Implementation

void update({required UContentUpdateParams p}) => UServices.content.update(
  p: p,
  onOk: (UEmptyResponse r) => okCallback(r.message, read),
  onError: (UEmptyResponse r) => errorCallBack(r.message, read),
  onException: (String e) => errorCallBack(U.s.errorSubmittingForm, read),
);