etfSector abstract method

The etfSector method is used to get the ETF sectors for a given ETF symbol.

The id argument is used to specify the ETF id e.g. symbol

// Get ETF sectors for SPY
final client = BavestRestClient(api_key);
final etfSector = client.etfSector('SPY');

Implementation

Future<EtfSector> etfSector(SecurityIdentifier id);