platform library Null safety
Core interfaces & classes.
Classes
- FakePlatform
- Provides a mutable implementation of the Platform interface.
- LocalPlatform
-
Platform
implementation that delegates directly todart:io
. - Platform
-
Provides API parity with the
Platform
class indart:io
, but using instance properties rather than static properties. This difference enables the use of these APIs in tests, where you can provide mock implementations.