copy method

Locator copy({
  1. String? href,
  2. String? type,
  3. String? title,
  4. Locations? locations,
  5. LocatorText? text,
})

Implementation

Locator copy({
  String? href,
  String? type,
  String? title,
  Locations? locations,
  LocatorText? text,
}) =>
    Locator(
      href: href ?? this.href,
      type: type ?? this.type,
      title: title ?? this.title,
      locations: locations ?? this.locations,
      text: text ?? this.text,
    );