checkFormsIssues method

Future<List<GenericIssueDetails>> checkFormsIssues()

Runs the form issues check for the target page. Found issues are reported using Audits.issueAdded event.

Implementation

Future<List<GenericIssueDetails>> checkFormsIssues() async {
  var result = await _client.send('Audits.checkFormsIssues');
  return (result['formIssues'] as List)
      .map((e) => GenericIssueDetails.fromJson(e as Map<String, dynamic>))
      .toList();
}