File tree Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Expand file tree Collapse file tree 3 files changed +15
-12
lines changed Original file line number Diff line number Diff line change
1
+ ## 1.5.0-nullsafety.0
2
+ - Upgraded to null-safe dart
3
+
1
4
## 1.4.0
2
5
3
6
- Introduce ` isToday ` extension to ` Duration `
Original file line number Diff line number Diff line change @@ -88,14 +88,14 @@ extension DateTimeTimeExtension on DateTime {
88
88
}
89
89
90
90
DateTime copyWith ({
91
- int year,
92
- int month,
93
- int day,
94
- int hour,
95
- int minute,
96
- int second,
97
- int millisecond,
98
- int microsecond,
91
+ int ? year,
92
+ int ? month,
93
+ int ? day,
94
+ int ? hour,
95
+ int ? minute,
96
+ int ? second,
97
+ int ? millisecond,
98
+ int ? microsecond,
99
99
}) {
100
100
return DateTime (
101
101
year ?? this .year,
Original file line number Diff line number Diff line change 1
1
name : time
2
2
description : Type-safe DateTime and Duration calculations, powered by extensions.
3
- version : 1.4 .0
3
+ version : 1.5.0-nullsafety .0
4
4
homepage : https://github.com/jogboms/time.dart
5
5
author :
Jogboms <[email protected] >
6
6
7
7
environment :
8
- sdk : ' >=2.6.0 <3.0.0'
8
+ sdk : " >=2.12.0-0 <3.0.0"
9
9
10
10
dev_dependencies :
11
- pedantic : ^1.8.0
12
- test : ^1.9.0
11
+ pedantic : ^1.10.0-nullsafety.3
12
+ test : ^1.16.0-nullsafety.11
13
13
test_coverage :
14
14
git :
15
15
url : https://github.com/jogboms/test-coverage.git
You can’t perform that action at this time.
0 commit comments