getHome method
getHome Get initial state from twitter.com. Note: Can only be used while logged in.
Parameters:
url
The url of the page to get.
Returns Future containing InitialStateApiUtilsResponse as data.
The InitialStateApiUtilsResponse contains InitialStateApiUtilsRaw, UserLegacy
, Session
.
Implementation
Future<InitialStateApiUtilsResponse> getHome() async {
return await getInitialState(url: TwitterOpenapiDart.home);
}