LinkApi class

Constructors

LinkApi(Dio dio)

Properties

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

Methods

custom(int templateId, {Map<String, String>? templateArgs}) Future<LinkResult>
Send KakaoLink messages with custom templates. This
defaultTemplate(DefaultTemplate template) Future<LinkResult>
Send KakaoLink messages with default templates.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
scrap(String url, {int? templateId, Map<String, String>? templateArgs}) Future<LinkResult>
Send kakaoLink messages with scrapped url.
scrapImage(String imageUrl, {bool secureResource = true}) Future<ImageUploadResult>
Upload remote image to Kakao Image Server to use as KakaoLink content image.
toString() String
A string representation of this object.
inherited
uploadImage(File image, {bool secureResource = true}) Future<ImageUploadResult>
Upload the local image to the Kakao Image Server to use it as a KakaoLink content image.

Operators

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

Static Properties

instance LinkApi
singleton instance of this class.
final