NearbyServiceSocketListener<T> class
Stream Subscription Listener.
- Implementers
Constructors
-
NearbyServiceSocketListener({required ValueChanged<
T> onData, VoidCallback? onCreated, VoidCallback? onDone, void onError(Object, [StackTrace])?, bool? cancelOnError}) -
It is required to pass the onData parameter to process the
data that came through the stream.
const
Properties
- cancelOnError → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- onCreated → VoidCallback?
-
final
-
onData
→ ValueChanged<
T> -
final
- onDone → VoidCallback?
-
final
- onError → (void Function(Object, [StackTrace])?)
-
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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited