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
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue