NearbyServiceException class
Nearby Service Plugin Exception.
Indicates what problem occurred in the plugin operation.
- Implemented types
- Implementers
Constructors
- NearbyServiceException(Object? error)
- NearbyServiceException.invalidMessage(NearbyMessageContent content)
-
An attempt to send an invalid message on the sender's side. Add content
validation to your messages
factory
- NearbyServiceException.unsupportedDecoding(dynamic value)
-
Error decoding messages from native platform to Dart (open an issue if
this happens!)
factory
- NearbyServiceException.unsupportedPlatform({required String caller})
-
Usage of the plugin on an unsupported platform
factory
Properties
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