copyWith method

  1. @override
BackgroundTypeChatTheme copyWith({
  1. String? themeName,
})
override

Returns a copy with the given fields replaced. For a nullable field pass a function, e.g. field: () => null to clear it.

Implementation

@override
BackgroundTypeChatTheme copyWith({
  String? themeName,
}) =>
    BackgroundTypeChatTheme(
      themeName: themeName ?? this.themeName,
    );