shareImage method

Future shareImage ({String imgUrl: "", 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;
}