WeChatShareFileModel class

source the file you want to share, source.suffix is necessary on iOS. scene can't be WeChatScene.TIMELINE, otherwise, sharing nothing. send files to WeChat

Inheritance

Constructors

WeChatShareFileModel(WeChatFile source, {String title = "", String description = "", WeChatImage? thumbnail, WeChatScene scene = WeChatScene.session, String? mediaTagName, String? messageAction, String? messageExt, String? msgSignature, bool compressThumbnail = true})

Properties

arguments Map<String, dynamic>
no setter
compressThumbnail bool
final
description String
final
hashCode int
The hash code for this object.
no setterinherited
mediaTagName String?
final
messageAction String?
final
messageExt String?
final
msgSignature String?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scene WeChatScene
final
source WeChatFile
final
thumbnail WeChatImage?
final
title String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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