WeChatShareWebPageModel constructor

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

Implementation

WeChatShareWebPageModel(
  this.webPage, {
  this.title = "",
  String? description,
  this.thumbnail,
  this.scene = WeChatScene.session,
  this.mediaTagName,
  this.messageAction,
  this.messageExt,
  this.msgSignature,
  this.compressThumbnail = true,
})  : assert(webPage.isNotEmpty),
      description = description ?? webPage;