WearOsDevice class
Constructors
- WearOsDevice({required String id, required String name, required bool isNearby})
-
WearOsDevice.fromJson(Map<
String, dynamic> json) -
factory
- WearOsDevice.fromRawData(MethodChannel channel, Map data)
-
factory
Properties
-
getCompanionPackageName
↔ Future<
String?> Function() -
A method gets the package name for the Companion application associated with this WearOsDevice.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id → String
-
An opaque string that represents a node in the Android Wear network.
final
- isNearby → bool
-
A bool value indicating that this WearOsDevice can be considered geographically nearby the local WearOsDevice.
final
- name → String
-
The name of the WearOsDevice.
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