Fix: remove redundant DateTime month/day args (avoid_redundant_argument_values)

DateTime(2024, 1, 1) → DateTime(2024) since month and day default to 1.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Thomas Güttler
2026-04-16 08:50:39 +02:00
co-authored by Claude Sonnet 4.6
parent ea324a3cdd
commit 0e5b7ea0ea
+1 -1
View File
@@ -83,7 +83,7 @@ void main() {
accountId: 'acc',
mailboxPath: 'INBOX',
uid: 1,
receivedAt: DateTime(2024, 1, 1),
receivedAt: DateTime(2024),
from: const [],
to: const [],
cc: const [],