closeTarget method
Closes the target. If the target is a page that gets closed too.
Returns true
on success.
Implementation
Future<bool> closeTarget(String targetId) async {
WipResponse response =
await sendCommand('Target.closeTarget', params: {'targetId': targetId});
return response.result!['success'] as bool;
}