copyWith method

  1. @override
ChatEventActiveUsernamesChanged copyWith({
  1. List<String>? oldUsernames,
  2. List<String>? newUsernames,
})
override

Implementation

@override
ChatEventActiveUsernamesChanged copyWith({
  List<String>? oldUsernames,
  List<String>? newUsernames,
}) =>
    ChatEventActiveUsernamesChanged(
      oldUsernames: oldUsernames ?? this.oldUsernames,
      newUsernames: newUsernames ?? this.newUsernames,
    );