shareWebPage method

Future shareWebPage ({String webpageUrl: "" String title: "title" String description: "description" int type: 0, String imgUrl: "" })

Implementation

static Future<dynamic> shareWebPage(
    {String webpageUrl: "", String title: "title", String description: "description", int type: 0, String imgUrl: ""}) async {
  final Map<String, dynamic> params = <String, dynamic>{
    'webpageUrl': webpageUrl,
    'title': title,
    'description': description,
    'type': type,
    'imgUrl': imgUrl
  };
 var res= await _channel.invokeMethod(
      'shareWebPage',
      params);
  return res;
}