current property

NativePlatform? get current

The current native platform, if any.

Same as Platform.nativePlatform of Platform.current.

Implementation

static NativePlatform? get current => Platform.current.nativePlatform;