getNeighbors method
Implementation
@override
Future<List<Device>> getNeighbors() async {
final List result = await _channel.invokeMethod('getNeighbors');
return result
.map((e) => Device.fromMap(Map<String, dynamic>.from(e)))
.toList();
}