create method
Implementation
void create({required UTerminalCreateParams p}) {
ULoading.show();
UServices.terminal.create(
p: p,
onOk: (UResponse<String> r) {
ULoading.dismiss();
okCallback(r.message, read);
},
onError: (UEmptyResponse r) {
ULoading.dismiss();
errorCallBack(r.message, read);
},
onException: (String e) {
ULoading.dismiss();
errorCallBack(U.s.errorSubmittingForm, read);
},
);
}