shareWebpage method
分享 - 网页
Implementation
@override
Future<void> shareWebpage({
required int scene,
required String title,
String? summary,
Uri? imageUri,
required String targetUrl,
String? appName,
int extInt = TencentQZoneFlag.kDefault,
}) {
return methodChannel.invokeMethod<void>(
'shareWebpage',
<String, dynamic>{
'scene': scene,
'title': title,
if (summary?.isNotEmpty ?? false) 'summary': summary,
if (imageUri != null) 'imageUri': imageUri.toString(),
'targetUrl': targetUrl,
if (appName?.isNotEmpty ?? false) 'appName': appName,
'extInt': extInt,
},
);
}