copyWith method
Creates a copy of this theme with the given fields replaced by the non-null parameter values.
Implementation
@override
PrettyQrTheme copyWith({
final PrettyQrDecoration? decoration,
}) {
return PrettyQrTheme(
decoration: decoration ?? this.decoration,
);
}