query method
Gets all groups that have the specified properties, or all groups if no properties are specified.
Implementation
Future<List<TabGroup>> query(QueryInfo queryInfo) async {
var $res = await $js.chrome.tabGroups.query(queryInfo.toJS).toDart;
return $res.toDart
.cast<$js.TabGroup>()
.map((e) => TabGroup.fromJS(e))
.toList();
}