Require Dart 2.1
Since `Future` is used in a number of libraries without importing dart:async
MODIFY
CHANGELOG.md
CHANGELOG.md
+## v4.1.1
+
+- Require at least Dart `2.1.0`.
+
## v4.1.0
- Fix return type of `RepositoriesService.listContributors`.

MODIFY
pubspec.yaml
pubspec.yaml
name: github
-version: 4.1.0
+version: 4.1.1-dev
author: Kenneth Endfinger <kaendfinger@gmail.com>
description: GitHub API Client Library
homepage: https://github.com/DirectMyFile/github.dart
+
environment:
- sdk: '>=2.0.0 <3.0.0'
+ sdk: '>=2.1.0 <3.0.0'
+
dependencies:
http: '>=0.11.3 <0.13.0'
http_parser: ^3.1.1
json_annotation: ^2.0.0
meta: ^1.1.0
+
dev_dependencies:
build_runner: any
build_test: any

Require Dart 2.1

Since `Future` is used in a number of libraries without importing dart:async