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
|
|
@ -25,7 +25,7 @@ class const SendMessageRequest({
|
|||
@JsonSerializable()
|
||||
class const Mentions({
|
||||
final bool room = false,
|
||||
final IList<String> userIds = const IList.empty(),
|
||||
final IList<String> userIds = const .empty(),
|
||||
}) with _$Mentions {
|
||||
Map<String, Object?> toJson() => _$MentionsToJson(this);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue