diff --git a/flutter_local_notifications/test/android_flutter_local_notifications_test.dart b/flutter_local_notifications/test/android_flutter_local_notifications_test.dart index 0aa59f2ea..235a6913a 100644 --- a/flutter_local_notifications/test/android_flutter_local_notifications_test.dart +++ b/flutter_local_notifications/test/android_flutter_local_notifications_test.dart @@ -1955,6 +1955,7 @@ void main() { 'payload': '', 'timeZoneName': 'Australia/Sydney', 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'platformSpecifics': { 'scheduleMode': 'exactAllowWhileIdle', 'icon': null, @@ -2049,6 +2050,7 @@ void main() { 'payload': '', 'timeZoneName': 'Australia/Sydney', 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'matchDateTimeComponents': DateTimeComponents.time.index, 'platformSpecifics': { 'scheduleMode': 'exactAllowWhileIdle', @@ -2144,6 +2146,7 @@ void main() { 'payload': '', 'timeZoneName': 'Australia/Sydney', 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'matchDateTimeComponents': DateTimeComponents.dayOfWeekAndTime.index, 'platformSpecifics': { diff --git a/flutter_local_notifications/test/ios_flutter_local_notifications_test.dart b/flutter_local_notifications/test/ios_flutter_local_notifications_test.dart index a78962fb1..4fa354ce7 100644 --- a/flutter_local_notifications/test/ios_flutter_local_notifications_test.dart +++ b/flutter_local_notifications/test/ios_flutter_local_notifications_test.dart @@ -374,6 +374,7 @@ void main() { 'uiLocalNotificationDateInterpretation': UILocalNotificationDateInterpretation.absoluteTime.index, 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'timeZoneName': 'Australia/Sydney', 'platformSpecifics': { 'presentAlert': true, @@ -441,6 +442,7 @@ void main() { 'uiLocalNotificationDateInterpretation': UILocalNotificationDateInterpretation.absoluteTime.index, 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'timeZoneName': 'Australia/Sydney', 'matchDateTimeComponents': DateTimeComponents.time.index, 'platformSpecifics': { @@ -509,6 +511,7 @@ void main() { 'uiLocalNotificationDateInterpretation': UILocalNotificationDateInterpretation.absoluteTime.index, 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'timeZoneName': 'Australia/Sydney', 'matchDateTimeComponents': DateTimeComponents.dayOfWeekAndTime.index, diff --git a/flutter_local_notifications/test/macos_flutter_local_notifications_test.dart b/flutter_local_notifications/test/macos_flutter_local_notifications_test.dart index 7476e08e3..5caa9a095 100644 --- a/flutter_local_notifications/test/macos_flutter_local_notifications_test.dart +++ b/flutter_local_notifications/test/macos_flutter_local_notifications_test.dart @@ -283,6 +283,7 @@ void main() { 'body': 'notification body', 'payload': '', 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'timeZoneName': 'Australia/Sydney', 'platformSpecifics': { 'subtitle': null, @@ -353,6 +354,7 @@ void main() { 'body': 'notification body', 'payload': '', 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'timeZoneName': 'Australia/Sydney', 'matchDateTimeComponents': DateTimeComponents.time.index, 'platformSpecifics': { @@ -426,6 +428,7 @@ void main() { 'body': 'notification body', 'payload': '', 'scheduledDateTime': convertDateToISO8601String(scheduledDate), + 'scheduledDateTimeISO8601': scheduledDate.toIso8601String(), 'timeZoneName': 'Australia/Sydney', 'matchDateTimeComponents': DateTimeComponents.dayOfWeekAndTime.index,