WeChatShareVideoModel constructor

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

Implementation

WeChatShareVideoModel(
    {this.scene = WeChatScene.session,
    this.videoUrl,
    this.videoLowBandUrl,
    this.title = "",
    this.description = "",
    this.thumbnail,
    this.mediaTagName,
    this.messageAction,
    this.messageExt,
    this.compressThumbnail = true,
    this.msgSignature})
    : assert(videoUrl != null || videoLowBandUrl != null),
      assert(thumbnail != null);