label property
String
get
label
Implementation
String get label {
switch (this) {
case PrinterStatus.discoveringPrinter:
return "Discovering...";
case PrinterStatus.connecting:
return "Connecting...";
case PrinterStatus.ready:
return "Ready";
case PrinterStatus.printing:
return "Printing...";
case PrinterStatus.disconnecting:
return "Disconnecting";
case PrinterStatus.disconnected:
return "Disconnected";
}
}