current property

Platform get current

The current Platform information of the running program.

Implementation

@pragma('dart2js:prefer-inline')
static Platform get current =>
    (overrides.platformOverride as Platform?) ?? impl.platformInstance;