TtyDevice constructor Null safety
- {PrinterDeviceType? type,
- int? boundrate,
- String? filePath}
Implementation
factory TtyDevice({
PrinterDeviceType? type,
$core.int? boundrate,
$core.String? filePath,
}) {
final _result = create();
if (type != null) {
_result.type = type;
}
if (boundrate != null) {
_result.boundrate = boundrate;
}
if (filePath != null) {
_result.filePath = filePath;
}
return _result;
}