shareToFacebookStory method
Implementation
@override
Future<String> shareToFacebookStory(String appId,
{String? stickerImage,
String? backgroundImage,
String? backgroundVideo,
String? backgroundTopColor,
String? backgroundBottomColor,
String? attributionURL}) async {
return ((await methodChannel.invokeMethod<String>(facebookStories, {
"stickerImage": stickerImage,
"backgroundImage":
backgroundImage ?? (Platform.isAndroid ? backgroundVideo : null),
"videoFile": backgroundVideo,
"backgroundTopColor": backgroundTopColor,
"backgroundBottomColor": backgroundBottomColor,
"attributionURL": attributionURL,
"appId": appId
})) ??
"");
}