withoutTerminal method
Naked ID: name@address
Implementation
@override
ID withoutTerminal() {
// check old terminal (device)
String? device = terminal;
if (device == null/* || device.isEmpty*/) {
// nothing changed
return this;
}
// create new ID without terminal
return ID.create(name: name, address: address);
}