forked from Nexus/nexus
use dot shorthands for default immutable collections where possible
This commit is contained in:
parent
800fb5566d
commit
a1a15af30d
1 changed files with 23 additions and 23 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue