copyWith method
Helper function to copy object
Implementation
EditorSetting copyWith({
Map<String, Set<Sticker>>? stickers,
List<EditorBackground>? backgrounds,
int? fixedTabSize,
List<Color>? colors,
}) {
return EditorSetting(
stickers: stickers ?? this.stickers,
backgrounds: backgrounds ?? this.backgrounds,
fixedTabSize: fixedTabSize ?? this.fixedTabSize,
colors: colors ?? this.colors,
);
}