statusStr property

String get statusStr

Implementation

String get statusStr {
  switch (status) {
    case 0x00:
      return 'Start testing';
    case 0x01:
      return 'Measuring weight';
    case 0x02:
      return 'Measuring impedance';
    case 0x03:
      return 'Impedance measurement successful';
    case 0x04:
      return 'Impedance measurement failed';
    case 0xFF:
      return 'Test completed';
    default:
      return 'Unknown status';
  }
}