Source
static Future<VideoPlayerController> create(String dataSource) async { Map response = await _channel.invokeMethod('create', {'dataSource': dataSource}); int textureId = response["textureId"]; return new VideoPlayerController._internal(textureId); }