WeChatShareMusicModel constructor

WeChatShareMusicModel({
  1. String? musicUrl,
  2. String? musicLowBandUrl,
  3. String? title = "",
  4. String? description = "",
  5. String? musicDataUrl,
  6. String? musicLowBandDataUrl,
  7. WeChatImage? thumbnail,
  8. String? mediaTagName,
  9. String? messageAction,
  10. String? messageExt,
  11. WeChatScene scene = WeChatScene.session,
  12. bool compressThumbnail = true,
  13. String? msgSignature,
})

Implementation

WeChatShareMusicModel(
    {this.musicUrl,
    this.musicLowBandUrl,
    this.title = "",
    this.description = "",
    this.musicDataUrl,
    this.musicLowBandDataUrl,
    this.thumbnail,
    this.mediaTagName,
    this.messageAction,
    this.messageExt,
    this.scene = WeChatScene.session,
    this.compressThumbnail = true,
    this.msgSignature})
    : assert(musicUrl != null || musicLowBandUrl != null);