Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[device_info_platform_interface] Typo in doc fixed #3006

Merged
merged 7 commits into from
Sep 9, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1

- Documentation typo fixed.

## 1.0.0

- Initial open-source release.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export 'model/ios_device_info.dart';
/// 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();
Expand All @@ -41,14 +41,12 @@ abstract class DeviceInfoPlatform extends PlatformInterface {
_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.');
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ description: A common platform interface for the device_info plugin.
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:
Expand Down