SensorClient class Components
gRPC client for the Sensor component.
- Inheritance
- Implemented types
-
- ResourceRPCClient<
Client>
- ResourceRPCClient<
Constructors
- SensorClient(String name, ClientChannelBase channel)
Properties
- channel ↔ ClientChannelBase
-
getter/setter pairoverride
- client → SensorServiceClient
-
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
doCommand(
Map< String, dynamic> command) → Future<Map< String, dynamic> > -
Send/Receive arbitrary commands to the Resource
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
readings(
{Map< String, dynamic> ? extra}) → Future<Map< String, dynamic> > -
Get the measurements or readings from this Sensor.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited