getTargetInfo method
Returns information about a target.
Implementation
Future<TargetInfo> getTargetInfo({TargetID? targetId}) async {
var result = await _client.send('Target.getTargetInfo', {
if (targetId != null) 'targetId': targetId,
});
return TargetInfo.fromJson(result['targetInfo'] as Map<String, dynamic>);
}