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

@ -40,7 +40,7 @@ class const Profile({
final String? timezone,
@JsonKey(readValue: Profile.readPronouns, name: "m.pronouns")
final IList<Pronoun> pronouns = const IList.empty(),
final IList<Pronoun> pronouns = const .empty(),
}) with _$Profile {
Map<String, Object?> toJson() => _$ProfileToJson(this);