Add punctuation for unterminated sentences in doc comments (#62755)

* Add punctuation for unterminated sentences in doc comments

* Addressing review nit
This commit is contained in:
Nolan Scobie
2020-08-06 19:18:52 -04:00
committed by GitHub
parent 3af97d228c
commit 43c1b34cf5
100 changed files with 194 additions and 179 deletions

View File

@@ -54,7 +54,7 @@ List<FakeDeviceJsonData> fakeDevices = <FakeDeviceJsonData>[
),
];
/// Fake device to test `devices` command
/// Fake device to test `devices` command.
class FakeDevice extends Device {
FakeDevice(this.name, String id, [bool ephemeral = true, this._isSupported = true, PlatformType type = PlatformType.web]) : super(
id,
@@ -87,7 +87,7 @@ class FakeDevice extends Device {
Future<String> sdkNameAndVersion = Future<String>.value('Test SDK (1.2.3)');
}
/// Combines fake device with its canonical JSON representation
/// Combines fake device with its canonical JSON representation.
class FakeDeviceJsonData {
FakeDeviceJsonData(this.dev, this.json);

View File

@@ -622,7 +622,7 @@ void applyMocksToCommand(FlutterCommand command) {
command.applicationPackages = MockApplicationPackageStore();
}
/// Common functionality for tracking mock interaction
/// Common functionality for tracking mock interaction.
class BasicMock {
final List<String> messages = <String>[];

View File

@@ -58,7 +58,7 @@ final Map<Type, Generator> _testbedDefaults = <Type, Generator>{
///
/// Example:
///
/// Testing that a filesystem operation works as expected
/// Testing that a filesystem operation works as expected:
///
/// void main() {
/// group('Example', () {