StoryApi class Null safety

카카오스토리 API 호출을 담당하는 클라이언트

Constructors

StoryApi(Dio _dio)

Properties

hashCode int
The hash code for this object.
read-onlyinherited
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited

Methods

delete(String storyId) Future<void>
카카오스토리의 특정 내 스토리 삭제
isStoryUser() Future<bool>
카카오스토리 사용자인지 확인하기
linkInfo(String url) Future<LinkInfo>
포스팅하고자 하는 URL 을 스크랩하여 링크 정보 생성
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
카카오스토리에 링크 스토리 쓰기
postNote({required String content, StoryPermission? permission = StoryPermission.public, bool? enableShare = true, Map<String, String>? androidExecParam, Map<String, String>? iosExecParam, Map<String, String>? androidMarketParam, Map<String, String>? iosMarketParam}) Future<StoryPostResult>
카카오스토리에 글 스토리 쓰기
postPhoto({required List<String> images, String? content, StoryPermission? permission, bool? enableShare, Map<String, String>? androidExecParam, Map<String, String>? iosExecParam, Map<String, String>? androidMarketParam, Map<String, String>? iosMarketParam}) Future<StoryPostResult>
카카오스토리에 사진 스토리 쓰기
profile() Future<StoryProfile>
카카오스토리 프로필 가져오기
stories([String? lastId]) Future<List<Story>>
카카오스토리의 내 스토리 여러 개 가져오기 단, comments, likes 등의 상세정보는 없으며 이는 내스토리 정보 요청 story 통해 획득 가능
story(String storyId) Future<Story>
카카오스토리의 특정 내 스토리 가져오기 comments, likes 등 각종 상세정보 포함
toString() String
A string representation of this object.
inherited
upload(List<File> images) Future<List<String>>
로컬 이미지 파일 여러장을 카카오스토리에 업로드

Operators

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

Static Properties

instance StoryApi
간편한 API 호출을 위해 기본 제공되는 singleton 객체
final