copyWith method
Returns a copy of this
updated with the provided values.
Implementation
RegexTransformer copyWith({
RegExp? regex,
String? output,
Map<String, dynamic>? variables,
bool? math,
bool? strict,
}) =>
RegexTransformer(
regex: regex ?? this.regex,
output: output ?? this.output,
variables: variables ?? this.variables,
math: math ?? this.math,
strict: strict ?? this.strict,
);