File tree Expand file tree Collapse file tree 1 file changed +1
-6
lines changed
Expand file tree Collapse file tree 1 file changed +1
-6
lines changed Original file line number Diff line number Diff line change @@ -23,10 +23,7 @@ class EntityDetailsPageArguments {
2323 const EntityDetailsPageArguments ({
2424 required this .entityId,
2525 required this .contentType,
26- }) : assert (
27- entityId != null && contentType != null ,
28- 'Both entityId and contentType must be provided.' ,
29- );
26+ });
3027
3128 final String entityId;
3229 final ContentType contentType;
@@ -68,7 +65,6 @@ class EntityDetailsPage extends StatelessWidget {
6865 EntityDetailsLoadRequested (
6966 entityId: args.entityId,
7067 contentType: args.contentType,
71- entity: args.entity,
7268 adThemeStyle: AdThemeStyle .fromTheme (Theme .of (context)),
7369 ),
7470 );
@@ -174,7 +170,6 @@ class _EntityDetailsViewState extends State<EntityDetailsView> {
174170 EntityDetailsLoadRequested (
175171 entityId: widget.args.entityId,
176172 contentType: widget.args.contentType,
177- entity: widget.args.entity,
178173 adThemeStyle: AdThemeStyle .fromTheme (theme),
179174 ),
180175 ),
You can’t perform that action at this time.
0 commit comments