PrinterModel constructor
PrinterModel({})
Implementation
factory PrinterModel({
$core.String? modelId,
$core.String? brand,
$core.String? modelName,
PrintType? printType,
PrintCommandFormat? printCommandFormat,
$core.String? imageUrl,
}) {
final $result = create();
if (modelId != null) {
$result.modelId = modelId;
}
if (brand != null) {
$result.brand = brand;
}
if (modelName != null) {
$result.modelName = modelName;
}
if (printType != null) {
$result.printType = printType;
}
if (printCommandFormat != null) {
$result.printCommandFormat = printCommandFormat;
}
if (imageUrl != null) {
$result.imageUrl = imageUrl;
}
return $result;
}