[device_info_platform_interface] Typo in doc fixed (#3006)
diff --git a/packages/device_info/device_info_platform_interface/CHANGELOG.md b/packages/device_info/device_info_platform_interface/CHANGELOG.md
index 6fadda9..8a7eb6c 100644
--- a/packages/device_info/device_info_platform_interface/CHANGELOG.md
+++ b/packages/device_info/device_info_platform_interface/CHANGELOG.md
@@ -1,3 +1,7 @@
+## 1.0.1
+
+- Documentation typo fixed.
+
## 1.0.0
- Initial open-source release.
diff --git a/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart b/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart
index 253d6d0..808b7ad 100644
--- a/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart
+++ b/packages/device_info/device_info_platform_interface/lib/device_info_platform_interface.dart
@@ -22,7 +22,7 @@
/// platform implementations that `implements` this interface will be broken by newly added
/// [DeviceInfoPlatform] methods.
abstract class DeviceInfoPlatform extends PlatformInterface {
- /// Constructs a UrlLauncherPlatform.
+ /// Constructs a DeviceInfoPlatform.
DeviceInfoPlatform() : super(token: _token);
static final Object _token = Object();
@@ -41,14 +41,12 @@
_instance = instance;
}
- // Gets the Android device information.
- // ignore: public_member_api_docs
+ /// Gets the Android device information.
Future<AndroidDeviceInfo> androidInfo() {
throw UnimplementedError('androidInfo() has not been implemented.');
}
- // Gets the iOS device information.
- // ignore: public_member_api_docs
+ /// Gets the iOS device information.
Future<IosDeviceInfo> iosInfo() {
throw UnimplementedError('iosInfo() has not been implemented.');
}
diff --git a/packages/device_info/device_info_platform_interface/pubspec.yaml b/packages/device_info/device_info_platform_interface/pubspec.yaml
index 3adfb93..656e5b2 100644
--- a/packages/device_info/device_info_platform_interface/pubspec.yaml
+++ b/packages/device_info/device_info_platform_interface/pubspec.yaml
@@ -3,7 +3,7 @@
homepage: https://github.com/flutter/plugins/tree/master/packages/device_info
# NOTE: We strongly prefer non-breaking changes, even at the expense of a
# less-clean API. See https://flutter.dev/go/platform-interface-breaking-changes
-version: 1.0.0
+version: 1.0.1
dependencies:
flutter: