copyWith method

A11yServiceEvent copyWith({
  1. String? packageName,
  2. String? className,
  3. String? text,
  4. String? description,
})

Implementation

A11yServiceEvent copyWith({
  String? packageName,
  String? className,
  String? text,
  String? description,
}) {
  return A11yServiceEvent(
    packageName: packageName ?? this.packageName,
    className: className ?? this.className,
    text: text ?? this.text,
    description: description ?? this.description,
  );
}