Device.from({String ip, int port, String name = _UNKNOWN_DEVICE}) : _ip = ip, _port = port, _name = name{ assert(ip != null); assert(port != null); }