Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Update packages/connectivity/lib/connectivity.dart
Co-Authored-By: Collin Jackson <[email protected]>
  • Loading branch information
Chris Yang and collinjackson authored Aug 26, 2019
commit ef2dcfb78bcff2d1b9beabcab3c8298449806811
2 changes: 1 addition & 1 deletion packages/connectivity/lib/connectivity.dart
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Connectivity {
/// Request to authorize the location service. Only on iOS.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
/// Request to authorize the location service. Only on iOS.
/// Request to authorize the location service (only on iOS).

I think Dartdoc comments are supposed to have tight first sentence with no other sentences on the first line. https://dart.dev/guides/language/effective-dart/documentation

///
/// Returns a [LocationAuthorizationStatus] if the location service has already been authorized or user authorized the location on
/// This request.
/// this request.
///
/// if the location information needs to be accessible all the time, set `requestAlwaysLocationUsage` to true. Note that the status
/// returned might not be [LocationAuthorizationStatus.authorizedAlways] even if you requested it. The user might have already chosen a location authorization
Expand Down