copyWith method

  1. @override
ChatEventPermissionsChanged copyWith({
  1. ChatPermissions? oldPermissions,
  2. ChatPermissions? newPermissions,
})
override

Implementation

@override
ChatEventPermissionsChanged copyWith({
  ChatPermissions? oldPermissions,
  ChatPermissions? newPermissions,
}) => ChatEventPermissionsChanged(
  oldPermissions: oldPermissions ?? this.oldPermissions,
  newPermissions: newPermissions ?? this.newPermissions,
);