copyWith method

ToggleSupergroupUsernameIsActive copyWith({
  1. int? supergroupId,
  2. String? username,
  3. bool? isActive,
})

Implementation

ToggleSupergroupUsernameIsActive copyWith({
  int? supergroupId,
  String? username,
  bool? isActive,
}) =>
    ToggleSupergroupUsernameIsActive(
      supergroupId: supergroupId ?? this.supergroupId,
      username: username ?? this.username,
      isActive: isActive ?? this.isActive,
    );