getAllFrames method
Retrieves information about all frames of a given tab.
details
Information about the tab to retrieve all frames from.
Implementation
Future<List<GetAllFramesCallbackDetails>?> getAllFrames(
GetAllFramesDetails details) async {
var $res = await promiseToFuture<JSArray?>(
$js.chrome.webNavigation.getAllFrames(details.toJS));
return $res?.toDart
.cast<$js.GetAllFramesCallbackDetails>()
.map((e) => GetAllFramesCallbackDetails.fromJS(e))
.toList();
}