nearbyPeers property Null safety

RxList<Peer> nearbyPeers
final

List of all neerby Motor powered devices. This is updated every time a RefreshEvent is received on the MethodChannel. All nodes are referenced with the Peer object.

MotorFlutter.to.nearbyDevices.forEach((peer) {
    print(peer.did);
});

See also:

Implementation

final nearbyPeers = <Peer>[].obs;