HackerNewsClient class

Constructors

HackerNewsClient()

Properties

endpoint Uri
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getItem(int id) Future<Item>
Fetches an Item that could be Story, Poll, Job, or Ask
getStory(int id) Future<Story>
Fetches a specific Story
getTopStories({int storyCount = 10}) Future<List<Item>>
Fetches the top 10 (by default) Hacker News Stories
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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