share static method
method to share to Instagram
It uses the ACTION_SEND Intent on Android
path
is file path
type
"image" ,"video"
Implementation
static Future<void> share(String path, String type) {
assert(path.isNotEmpty);
final Map<String, dynamic> params = <String, dynamic>{
'path': path,
'type': type,
};
return _channel.invokeMethod('share', params);
}