shareMiniProgram method

Future<void> shareMiniProgram({
  1. required int scene,
  2. String? title,
  3. String? description,
  4. Uint8List? thumbData,
  5. required String webpageUrl,
  6. required String userName,
  7. String? path,
  8. Uint8List? hdImageData,
  9. bool withShareTicket = false,
  10. int type = WechatMiniProgram.RELEASE,
  11. bool disableForward = false,
})

分享 - 小程序 - 目前只支持分享到会话

Implementation

Future<void> shareMiniProgram({
  required int scene,
  String? title,
  String? description,
  Uint8List? thumbData,
  required String webpageUrl,
  required String userName,
  String? path,
  Uint8List? hdImageData,
  bool withShareTicket = false,
  int type = WechatMiniProgram.RELEASE,
  bool disableForward = false,
}) {
  throw UnimplementedError(
      'shareMiniProgram({required scene, title, description, thumbData, required webpageUrl, required userName, path, hdImageData, withShareTicket, type, disableForward}) has not been implemented.');
}