StoryApi class

Provides KakaoStory API.

Constructors

StoryApi(Dio _dio)

Properties

hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

deleteStory(String storyId) → Future<void>
isStoryUser() → Future<bool>
Check whether current user is a KakaoStory user or not.
myStories([String lastId ]) → Future<List<Story>>
Fetches a list of stories where id is smaller the given lastId.
myStory(String storyId) → Future<Story>
Fetches an individual story with the given id.
Posts a story with a LinkInfo returned by StoryApi.scrapLink().
postNote(String content, { StoryPermission permission, bool enableShare, String androidExecParams, String iosExecParams, String androidMarketParams, String iosMarketParams }) → Future<String>
Posts a story with a simple content text. [...]
postPhotos(List<String> images, { String content, StoryPermission permission, bool enableShare, String androidExecParams, String iosExecParams, String androidMarketParams, String iosMarketParams }) → Future<String>
Posts a story with a list of image urls returned by StoryApi.scrapImages().
profile() → Future<StoryProfile>
Fetches current user's KakaoStory profile.
scrapImages(List<File> images) → Future<List<String>>
Uploads a list of images to storage server used by Kakao API. [...]
Gets a scraping result with the given url. [...]
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited

Static Properties

instance StoryApi
Default instance SDK provides.
final