copyWith method

ReplaceAllOption copyWith({
  1. ID? id,
  2. String? from,
  3. String? replace,
})

Implementation

ReplaceAllOption copyWith({
  ID? id,
  String? from,
  String? replace,
}) {
  return ReplaceAllOption(
    id: id ?? this.id,
    from: from ?? this.from,
    replace: replace ?? this.replace,
  );
}