listAllPeers method
Implementation
void listAllPeers(Function(List<dynamic>) cb) {
_api.listAllPeers().then((peers) => cb(peers)).catchError((error) => _abort(PeerErrorType.ServerError, error));
}
void listAllPeers(Function(List<dynamic>) cb) {
_api.listAllPeers().then((peers) => cb(peers)).catchError((error) => _abort(PeerErrorType.ServerError, error));
}