InMemorySystem constructor
InMemorySystem({})
Creates a system fake seeded with environment, directory, and now.
Implementation
InMemorySystem({
Map<String, String> environment = const <String, String>{},
this.directory = '/',
DateTime? now,
}) : environmentVariables = Map<String, String>.of(environment),
now = (now ?? DateTime.fromMillisecondsSinceEpoch(0, isUtc: true))
.toUtc();