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

Implemented types

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

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
toMap() Map
override
toString() String
A string representation of this object.
inherited

Operators

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