mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 16:00:45 +00:00
Fix typo
Closes https://github.com/dart-lang/sdk/pull/55065 GitOrigin-RevId: ac11d63f223361219d5907b106f9672b4fa44b52 Change-Id: I7f8d816491707c86743adca04ef410cd9b60c8cf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/355200 Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Kevin Moore <kevmoo@google.com>
This commit is contained in:
parent
1527033358
commit
42ccd79cd1
|
@ -615,7 +615,7 @@ abstract interface class File implements FileSystemEntity {
|
|||
/// This method does not transform newline characters (`"\n"`) to the
|
||||
/// platform conventional line ending (e.g. `"\r\n"` on Windows). Use
|
||||
/// [Platform.lineTerminator] to separate lines in [contents] if platform
|
||||
/// contentional line endings are needed.
|
||||
/// conventional line endings are needed.
|
||||
Future<File> writeAsString(String contents,
|
||||
{FileMode mode = FileMode.write,
|
||||
Encoding encoding = utf8,
|
||||
|
@ -637,7 +637,7 @@ abstract interface class File implements FileSystemEntity {
|
|||
/// This method does not transform newline characters (`"\n"`) to the
|
||||
/// platform conventional line ending (e.g. `"\r\n"` on Windows). Use
|
||||
/// [Platform.lineTerminator] to separate lines in [contents] if platform
|
||||
/// contentional line endings are needed.
|
||||
/// conventional line endings are needed.
|
||||
///
|
||||
/// Throws a [FileSystemException] if the operation fails.
|
||||
void writeAsStringSync(String contents,
|
||||
|
|
Loading…
Reference in a new issue