-
Notifications
You must be signed in to change notification settings - Fork 90
Open
Description
In all message types, the copyWith methods roomId parameter is not _Unset like the rest. However, the assignment below checks for _Unset:
| roomId: roomId == _Unset ? this.roomId : roomId as String?, |
Therefore I have to manually copy my message with the roomId given:
messages[index] = message.copyWith(status: Status.error, roomId: message.roomId);
Otherwise the roomId is set to null, since it is not _Unset.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels