BtcUnsupportedException class Exceptions
Thrown when a feature is not available on the current platform.
For example, calling startDiscovery() on iOS throws this because
iOS does not support device discovery for Bluetooth Classic.
- Inheritance
-
- Object
- BtcException
- BtcUnsupportedException
Constructors
- BtcUnsupportedException({required String feature, required String platform, String? reason})
-
const
Properties
- code → String?
-
Optional error code from the native platform.
finalinherited
- feature → String
-
The feature that is not supported.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- message → String
-
Human-readable error message.
finalinherited
- platform → String
-
The platform where the feature is unsupported.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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