broadcast property

bool get broadcast

Check to see if broadcast is available in this characteristic.

Will return false if the field doesn't exist.

See:

Implementation

bool get broadcast {
  if (!hasBroadcast) {
    return false;
  }
  final result = _JSUtil.getProperty(_jsObject, "broadcast");
  if (result is bool) {
    return result;
  }
  return false;
}