WeChatShareTextModel constructor

WeChatShareTextModel(
  1. String source, {
  2. WeChatScene scene = WeChatScene.session,
  3. String? mediaTagName,
  4. String? messageAction,
  5. String? messageExt,
  6. String? msgSignature,
  7. String? description,
  8. String? title,
})

Implementation

WeChatShareTextModel(
  this.source, {
  this.scene = WeChatScene.session,
  this.mediaTagName,
  this.messageAction,
  this.messageExt,
  this.msgSignature,
  String? description,
  String? title,
})  : title = title ?? source,
      description = description ?? source;