copyWith method

A11yServiceNode copyWith({
  1. List<int>? depth,
  2. List<int>? bounds,
  3. String? id,
  4. String? packageName,
  5. String? className,
  6. String? text,
  7. String? description,
  8. bool? clickable,
  9. bool? scrollable,
  10. bool? editable,
})

Implementation

A11yServiceNode copyWith({
  List<int>? depth,
  List<int>? bounds,
  String? id,
  String? packageName,
  String? className,
  String? text,
  String? description,
  bool? clickable,
  bool? scrollable,
  bool? editable,
}) {
  return A11yServiceNode(
    depth: depth ?? this.depth,
    bounds: bounds ?? this.bounds,
    id: id ?? this.id,
    packageName: packageName ?? this.packageName,
    className: className ?? this.className,
    text: text ?? this.text,
    description: description ?? this.description,
    clickable: clickable ?? this.clickable,
    scrollable: scrollable ?? this.scrollable,
    editable: editable ?? this.editable,
  );
}