use dot shorthands for default immutable collections where possible

This commit is contained in:
Henry Hiles 2026-10-20 18:21:05 -04:00
commit a1a15af30d
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -28,7 +28,7 @@ sealed class PowerLevelsContent extends Content with _$PowerLevelsContent {
@JsonSerializable()
class const Notifications({
final int room = 50,
final IMap<String, int> other = const IMap.empty(),
final IMap<String, int> other = const .empty(),
}) with _$Notifications {
Map<String, Object?> toJson() => _$NotificationsToJson(this);