share static method
share multi files videos or images
Implementation
static Future<void> share(
{required String clintID, required List<String> files}) async {
try {
await platform.invokeMethod('launchSnapchatPreviewWithMultipleFiles', {
'filePaths': files,
'clientId': clintID,
});
} on PlatformException catch (e, s) {
log("Failed with error : '${e.message}'. \n $s");
throw (e, s);
} catch (e, s) {
log("Failed with error : $e \n $s");
throw (e, s);
}
}