WeChatShareMiniProgramModel constructor
WeChatShareMiniProgramModel({
- required String webPageUrl,
- WXMiniProgramType miniProgramType = WXMiniProgramType.RELEASE,
- required String userName,
- String path = "/",
- String? title,
- String? description,
- required WeChatImage thumbnail,
- WeChatImage? hdImagePath,
- String? mediaTagName,
- String? messageAction,
- String? messageExt,
- bool compressThumbnail = true,
- String? msgSignature,
Implementation
WeChatShareMiniProgramModel(
{required this.webPageUrl,
this.miniProgramType = WXMiniProgramType.RELEASE,
required this.userName,
this.path = "/",
this.title,
this.description,
this.withShareTicket = false,
required this.thumbnail,
this.hdImagePath,
this.mediaTagName,
this.messageAction,
this.messageExt,
this.compressThumbnail = true,
this.msgSignature})
: assert(webPageUrl.isNotEmpty),
assert(userName.isNotEmpty),
assert(path.isNotEmpty);