isPrimary property
bool
isPrimary
Check to see if the service is a primary service (top level).
Some browsers don't support this yet, in that case it will return false
.
Implementation
bool get isPrimary {
if (_bluetoothService.hasIsPrimary()) {
return _bluetoothService.isPrimary;
}
return false; // Maybe return true?
}