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()
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 device can be considered geographically nearby the local device.
final
name String
The name of the device.
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