Require Dart 2.2+, use latest json_serializable
diff --git a/pkgs/timing/.travis.yml b/pkgs/timing/.travis.yml
index 20c457c..581db89 100644
--- a/pkgs/timing/.travis.yml
+++ b/pkgs/timing/.travis.yml
@@ -1,7 +1,7 @@
 language: dart
 
 dart:
-  - 2.0.0
+  - 2.2.0
   - dev
 
 dart_task:
diff --git a/pkgs/timing/CHANGELOG.md b/pkgs/timing/CHANGELOG.md
index a8ae834..855ae6d 100644
--- a/pkgs/timing/CHANGELOG.md
+++ b/pkgs/timing/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 0.1.1+2
+
+- Require Dart 2.2 or later.
+
 ## 0.1.1+1
 
 - Support the latest version of `package:json_annotation`.
diff --git a/pkgs/timing/lib/src/timing.g.dart b/pkgs/timing/lib/src/timing.g.dart
index 214dd82..91293b2 100644
--- a/pkgs/timing/lib/src/timing.g.dart
+++ b/pkgs/timing/lib/src/timing.g.dart
@@ -7,20 +7,26 @@
 // **************************************************************************
 
 TimeSlice _$TimeSliceFromJson(Map<String, dynamic> json) {
-  return TimeSlice(DateTime.parse(json['startTime'] as String),
-      DateTime.parse(json['stopTime'] as String));
+  return TimeSlice(
+    DateTime.parse(json['startTime'] as String),
+    DateTime.parse(json['stopTime'] as String),
+  );
 }
 
 Map<String, dynamic> _$TimeSliceToJson(TimeSlice instance) => <String, dynamic>{
       'startTime': instance.startTime.toIso8601String(),
-      'stopTime': instance.stopTime.toIso8601String()
+      'stopTime': instance.stopTime.toIso8601String(),
     };
 
 TimeSliceGroup _$TimeSliceGroupFromJson(Map<String, dynamic> json) {
-  return TimeSliceGroup((json['slices'] as List)
-      .map((e) => TimeSlice.fromJson(e as Map<String, dynamic>))
-      .toList());
+  return TimeSliceGroup(
+    (json['slices'] as List)
+        .map((e) => TimeSlice.fromJson(e as Map<String, dynamic>))
+        .toList(),
+  );
 }
 
 Map<String, dynamic> _$TimeSliceGroupToJson(TimeSliceGroup instance) =>
-    <String, dynamic>{'slices': instance.slices};
+    <String, dynamic>{
+      'slices': instance.slices,
+    };
diff --git a/pkgs/timing/pubspec.yaml b/pkgs/timing/pubspec.yaml
index efda7ce..663169f 100644
--- a/pkgs/timing/pubspec.yaml
+++ b/pkgs/timing/pubspec.yaml
@@ -1,17 +1,17 @@
 name: timing
-version: 0.1.1+1
 description: Timing is a simple package for tracking performance of both async and sync actions
+version: 0.1.1+2
 author: Dart Team <misc@dartlang.org>
 homepage: https://github.com/dart-lang/timing
 
 environment:
-  sdk: ">=2.0.0 <3.0.0"
+  sdk: ">=2.2.0 <3.0.0"
 
 dependencies:
   json_annotation: '>=1.0.0 <3.0.0'
 
 dev_dependencies:
   build_runner: ^1.0.0
-  json_serializable: ^2.0.0
+  json_serializable: ^3.1.0
   pedantic: ^1.1.0
   test: ^1.0.0