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
|
|
@ -13,7 +13,7 @@ class const EventContext({
|
|||
required final IList<Event> after,
|
||||
required final String start,
|
||||
required final String end,
|
||||
final IList<Event> relatedEvents = const IList.empty(),
|
||||
final IList<Event> relatedEvents = const .empty(),
|
||||
}) with _$EventContext {
|
||||
Map<String, Object?> toJson() => _$EventContextToJson(this);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue