MetamotionRLBoard class
- Implemented types
Constructors
- MetamotionRLBoard({required String id, required String name, required String? mac})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
The ID of the board. On Android, this is the MAC address of the board. On iOS, this is a unique ID.
final
- mac ↔ String?
-
The MAC address of the board. Not available on iOS.
getter/setter pairoverride-getter
- name → String
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sensorFusionBoschModule ↔ SensorFusionBoschModule
-
getter/setter pair
-
state
→ Stream<
bool> -
no setteroverride
Methods
-
battery(
) → Future< int> -
override
-
connect(
) → Future< void> -
override
-
disconnect(
) → Future< void> -
override
-
info(
) → Future< DeviceInfo> -
override
-
isConnected(
) → Future< bool> -
override
-
model(
) → Future< DeviceModel> -
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onDisconnected(
void callback(String? reason)) → void -
override
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited