SecurityError class
An Error that is thrown if a specific BluetoothService or BluetoothCharacteristic is on a blocklist.
This blocklist is defined by the Web Bluetooth authors and may differ between browsers and versions of these browsers.
Constructors
- SecurityError(String uuid, String originalMessage)
- Create a new instance.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stackTrace → StackTrace?
-
The stack trace at the point where this error was first thrown.
no setterinherited
- url ↔ String?
-
A possible url that links to an explanation as to why this happened.
getter/setter pair
- uuid → String
-
The uuid of the BluetoothService or BluetoothCharacteristic.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited