HackerNews class

Constructors

HackerNews({NewsType newsType = NewsType.topStories})

Properties

hashCode int
The hash code for this object.
no setterinherited
newsType NewsType
Specify news type
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getComments(List kidIds) Future<List<Comment>>
Function used to access story kids and return List<Comments>
getStories() Future<List<Story>>
Function used to access stories which returns List<Story>
getStory(int storyID) Future<Story>
Function used to access single story by using storyID
getStoryIds() Future<List>
Function used to access list of storyIds
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