copyWith method
AppStylesState
copyWith({
- Map<
String, ColorStyleEntity> ? colorStyles, - Map<
String, TextStyleEntity> ? textStyles,
Implementation
AppStylesState copyWith({
final Map<String, ColorStyleEntity>? colorStyles,
final Map<String, TextStyleEntity>? textStyles,
}) {
return AppStylesState(
colorStyles: colorStyles ?? this.colorStyles,
textStyles: textStyles ?? this.textStyles,
);
}