mBDeviceStatus top-level property

List<MBInfo> mBDeviceStatus
getter/setter pair

Implementation

List<MBInfo> mBDeviceStatus = [
  MBInfo(
    display: "Idle",
    description: "Device is powered on but not actively collecting data",
    code: "idle",
    color: getMBColorByName("Slate"),
    icon: "power_settings_new",
  ),
  MBInfo(
    display: "Ready",
    description: "Device is ready to start collecting data",
    code: "ready",
    color: getMBColorByName("Health"),
    icon: "check_circle",
  ),
  MBInfo(
    display: "Running",
    description: "Device is actively collecting data",
    code: "running",
    color: getMBColorByName("Munsell"),
    icon: "play_circle",
  ),
  MBInfo(
    display: "Stopped",
    description: "Device has stopped collecting data",
    code: "stopped",
    color: getMBColorByName("Crayola"),
    icon: "stop_circle",
  ),
  MBInfo(
    display: "Reset",
    description: "Device is resetting",
    code: "reset",
    color: getMBColorByName("Amber"),
    icon: "restart_alt",
  ),
  MBInfo(
    display: "Offline",
    description: "Device is not connected",
    code: "offline",
    color: getMBColorByName("Slate"),
    icon: "cloud_off",
  ),
];