Dart API Reference
dart:io
OSError
message
message
property
Error message supplied by the operating system. null if no message is associated with the error.
String
message
read-only
Error message supplied by the operating system. null if no message is associated with the error.