shareImage method

Future shareImage (
  1. {String imgUrl: "",
  2. int type: 0}
)

Implementation

static Future<dynamic> shareImage({String imgUrl: "", int type: 0}) async {
  final Map<String, dynamic> params = <String, dynamic>{
    'type': type,
    'imgUrl': imgUrl,

  };
  var res=await _channel.invokeMethod(
      'shareImage',
      params);
  return res;
}