shareImage method
分享 - 图片
Implementation
@override
Future<void> shareImage({
required int scene,
required Uri imageUri,
String? appName,
int extInt = TencentQZoneFlag.DEFAULT,
}) {
assert(scene == TencentScene.SCENE_QQ);
assert(imageUri.isScheme('file'));
return methodChannel.invokeMethod<void>(
'shareImage',
<String, dynamic>{
'scene': scene,
'imageUri': imageUri.toString(),
if (appName?.isNotEmpty ?? false) 'appName': appName,
'extInt': extInt,
},
);
}