test_io 0.1.2 test_io: ^0.1.2 copied to clipboard
Access to environmental variables and local files in tests in all platforms, including browsers.
Description #
This contains cross-platform testing helpers related to I/O and platform information.
Getting environmental variables #
Unlike Platform.environment, this method works in browsers too:
final env = await getEnvironmentalVariables();
print(env['EXAMPLE']);