peersWidget abstract method

The peersWidget endpoint returns a list of peers for a given stock symbol. The list contains the symbol, name and logo of the peers.

The id argument is used to specify the stock id.

// Get peers for Apple
final client = BavestRestClient(api_key);
final peers = client.peersWidget(SecurityIdentifier(symbol: "AAPL"));

Implementation

Future<List<PeersWidget>> peersWidget(SecurityIdentifier id);