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