loadForm method
Implementation
void loadForm(UTerminalBrandResponse? b) {
editing = b;
codeController.text = b?.code ?? "";
titleController.text = b?.title ?? "";
modelController.text = b?.model ?? "";
deviceType = (b == null ? null : deviceTypeOf(b)) ?? TagTerminalBrand.wallCashless;
connectionType = (b == null ? null : connectionTypeOf(b)) ?? TagTerminalBrand.simCard;
}