StoryApi class

Provides KakaoStory API.

Constructors

StoryApi(Dio _dio)

Properties

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

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.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
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.
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance StoryApi
Default instance SDK provides.
final