Skip to content
This repository was archived by the owner on Dec 9, 2024. It is now read-only.

Commit 49ffbe4

Browse files
committed
dartfmt
1 parent ae63611 commit 49ffbe4

File tree

1 file changed

+12
-10
lines changed

1 file changed

+12
-10
lines changed

packages/file/lib/src/backends/memory/memory_file_system.dart

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ abstract class MemoryFileSystem implements StyleableFileSystem {
4444
/// style. The default is [FileSystemStyle.posix].
4545
factory MemoryFileSystem({
4646
FileSystemStyle style = FileSystemStyle.posix,
47-
}) => _MemoryFileSystem(
48-
style: style,
49-
clock: const Clock.realTime(),
50-
);
47+
}) =>
48+
_MemoryFileSystem(
49+
style: style,
50+
clock: const Clock.realTime(),
51+
);
5152

5253
/// Creates a new `MemoryFileSystem` that has a fake clock.
5354
///
@@ -61,10 +62,11 @@ abstract class MemoryFileSystem implements StyleableFileSystem {
6162
/// style. The default is [FileSystemStyle.posix].
6263
factory MemoryFileSystem.test({
6364
FileSystemStyle style = FileSystemStyle.posix,
64-
}) => _MemoryFileSystem(
65-
style: style,
66-
clock: Clock.monotonicTest(),
67-
);
65+
}) =>
66+
_MemoryFileSystem(
67+
style: style,
68+
clock: Clock.monotonicTest(),
69+
);
6870
}
6971

7072
/// Internal implementation of [MemoryFileSystem].
@@ -73,8 +75,8 @@ class _MemoryFileSystem extends FileSystem
7375
_MemoryFileSystem({
7476
this.style = FileSystemStyle.posix,
7577
@required this.clock,
76-
}) : assert(style != null),
77-
assert(clock != null) {
78+
}) : assert(style != null),
79+
assert(clock != null) {
7880
_root = RootNode(this);
7981
_context = style.contextFor(style.root);
8082
}

0 commit comments

Comments
 (0)