WeChatShareMusicModel constructor
WeChatShareMusicModel({
- String? musicUrl,
- String? musicLowBandUrl,
- String? title = "",
- String? description = "",
- String? musicDataUrl,
- String? musicLowBandDataUrl,
- WeChatImage? thumbnail,
- String? mediaTagName,
- String? messageAction,
- String? messageExt,
- WeChatScene scene = WeChatScene.session,
- bool compressThumbnail = true,
- 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);