continueToLocation method
Continues execution until specific location is reached.
location
Location to continue to.
Implementation
Future<void> continueToLocation(
Location location, {
@Enum(['any', 'current']) String? targetCallFrames,
}) async {
assert(
targetCallFrames == null ||
const ['any', 'current'].contains(targetCallFrames),
);
await _client.send('Debugger.continueToLocation', {
'location': location,
if (targetCallFrames != null) 'targetCallFrames': targetCallFrames,
});
}