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 $js.chrome.webNavigation.getAllFrames(details.toJS).toDart;
return $res?.toDart
.cast<$js.GetAllFramesCallbackDetails>()
.map((e) => GetAllFramesCallbackDetails.fromJS(e))
.toList();
}