shareInstaStory static method
Implementation
static Future<ShareStatus> shareInstaStory(
String backgroundImagePath,
String? externalUrl,
String? backgroundTopColor,
String? backgroundBottomColor) async {
PackageInfo packageInfo = await PackageInfo.fromPlatform();
return _convertResponseToStatus(
await _channel.invokeMethod('share_insta_story', {
"backgroundImage": backgroundImagePath,
"externalUrl": externalUrl,
"sourceApplication": packageInfo.packageName,
"backgroundTopColor": backgroundTopColor,
"backgroundBottomColor": backgroundBottomColor
}));
}