copyWith method

  1. @factory
  2. @useResult
PrettyQrModule copyWith({
  1. bool? isDark,
})

Creates a copy of this PrettyQrModule but with the given fields replaced with the new values.

Implementation

@factory
@useResult
PrettyQrModule copyWith({
  final bool? isDark,
}) {
  return PrettyQrModule(x, y, isDark: isDark ?? this.isDark);
}