StockSentiment class Null safety

StockSentiment class initialized with String ticker ticker is a space seperated string with different stock tickers

Constructors

StockSentiment(String tickers)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
tickers String
read / write

Methods

getArticleContent(String url) Future<String>
getArticleContent gets the actual articles content unless status code is not 200
getDailySentiment(Map<String, List<Headline>> map) Map<String, Map<DateTime, SentimentResult>>?
getDailySentiment method returns a sentiment result for each day worth of headlines
getHeadlines(int days) Future<Map<String, List<Headline>>?>
getHeadlines method gets all of the headlines for the given tickers returns null if any of the tickers are invalid
getSingleSentiment(String text) Map<String, dynamic>
getSingleSentiment takes a String of text to have sentiment analysis ran on returns score and other mapped data about the sentiment
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited