shareVideo method

Future shareVideo ({String imgUrl: "" int type: 0, String videoUrl: "" String title: "" String description: "" String videoLowBandUrl: "" })

Implementation

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