WeChatShareImageModel constructor

WeChatShareImageModel(
  1. WeChatImage source, {
  2. WeChatImage? thumbnail,
  3. String? title,
  4. WeChatScene scene = WeChatScene.session,
  5. String? description,
  6. String? mediaTagName,
  7. String? messageAction,
  8. String? messageExt,
  9. bool compressThumbnail = true,
  10. String? msgSignature,
})

Implementation

WeChatShareImageModel(this.source,
    {WeChatImage? thumbnail,
    this.title,
    this.scene = WeChatScene.session,
    this.description,
    this.mediaTagName,
    this.messageAction,
    this.messageExt,
    this.compressThumbnail = true,
    this.msgSignature})
    : thumbnail = thumbnail ?? source;