DescriptionClean up documentation of Platform in dart:io.
The class is just a static-only container, and should really be rewritten as
either top-level getters instead of static getters, or as instance getters
on an interface (in case we ever want to mock it).
Also, the isOSName getters for each individual supported OS doesn't scale.
We should consider removing them and only support the `operatingSystem` getter.
R=floitsch@google.com
Committed: https://github.com/dart-lang/sdk/commit/08beb9eadfcca8c916c77817da8dcdf7481639e6
Patch Set 1 #
Total comments: 12
Patch Set 2 : Address comments. #Messages
Total messages: 8 (3 generated)
|