static Future<VideoInfo> getVideoInfo( File file, ) async { final json = await _invokeMethod('getVideoInfo', { 'path': file.path, }); return VideoInfo.fromJson(json); }