copyWith method

GroupCallMessageLevel copyWith({
  1. int? minStarCount,
  2. int? pinDuration,
  3. int? maxTextLength,
  4. int? maxCustomEmojiCount,
  5. int? firstColor,
  6. int? secondColor,
  7. int? backgroundColor,
})

Implementation

GroupCallMessageLevel copyWith({
  int? minStarCount,
  int? pinDuration,
  int? maxTextLength,
  int? maxCustomEmojiCount,
  int? firstColor,
  int? secondColor,
  int? backgroundColor,
}) =>
    GroupCallMessageLevel(
      minStarCount: minStarCount ?? this.minStarCount,
      pinDuration: pinDuration ?? this.pinDuration,
      maxTextLength: maxTextLength ?? this.maxTextLength,
      maxCustomEmojiCount: maxCustomEmojiCount ?? this.maxCustomEmojiCount,
      firstColor: firstColor ?? this.firstColor,
      secondColor: secondColor ?? this.secondColor,
      backgroundColor: backgroundColor ?? this.backgroundColor,
    );