supportPassword method
Implementation
Future<String?> supportPassword(UTerminalResponse i) async {
ULoading.show();
final (UResponse<UTerminalSupportPasswordResponse>? ok, UEmptyResponse? error, String? exception) = await UServices.terminal.readSupportPassword(p: UIdParams(id: i.id));
ULoading.dismiss();
if (ok == null) UToast.error(message: error?.message ?? exception ?? U.s.errorReadingData);
return ok == null ? null : ok.result?.password ?? "-";
}