WeChatShareWebPageModel constructor
WeChatShareWebPageModel(
- String webPage, {
- String title = "",
- String? description,
- WeChatImage? thumbnail,
- WeChatScene scene = WeChatScene.SESSION,
- String? mediaTagName,
- String? messageAction,
- String? messageExt,
- String? msgSignature,
- 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),
this.description = description ?? webPage;