esg abstract method

The esg method is used to get the ESG scores for a given stock symbol.

The id argument is used to specify the stock id.

// Get ESG scores for Apple
final client = BavestRestClient(api_key);
final esg = client.esg(SecurityIdentifier(symbol: "AAPL"));

Implementation

Future<Esg> esg(SecurityIdentifier id);