WebElement constructor Null safety

WebElement(
  1. WebDriver driver,
  2. SyncRequestClient _client,
  3. WebDriverHandler _handler,
  4. String id,
  5. [SearchContext? context,
  6. dynamic locator,
  7. int? index]
)

Implementation

WebElement(
  this.driver,
  this._client,
  this._handler,
  this.id, [
  this.context,
  this.locator,
  this.index,
]);