mirror of
https://github.com/flutter/samples.git
synced 2026-05-10 17:07:28 +00:00
Upgrading samples to flutter_lints, part 1 of n (#804)
This commit is contained in:
@@ -10,6 +10,6 @@ extension DayUtils on DateTime {
|
||||
|
||||
/// Checks that the two [DateTime]s share the same date.
|
||||
bool isSameDay(DateTime d2) {
|
||||
return this.year == d2.year && this.month == d2.month && this.day == d2.day;
|
||||
return year == d2.year && month == d2.month && day == d2.day;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user