connectedPeers property
Implementation
@override
Future<List<String>> get connectedPeers async {
final initialized = await _isInitialize();
final started = await _isStarted();
assert(initialized, 'Bridgefy is not initialized');
assert(started, 'Bridgefy is not started');
final result = await methodChannel.invokeMethod('connectedPeers');
return (result["connectedPeers"] as List).map((e) => e.toString()).toList();
}