name property

String? get name

A human readable name of the device.

This name comes straight from the device itself.

See:

Implementation

String? get name {
  var name = _name;
  if (name != null) {
    return name;
  }
  if (!_JSUtil.hasProperty(_jsObject, "name")) {
    return null;
  }
  name = _JSUtil.getProperty(_jsObject, "name") as String?;
  _name = name;
  return name;
}