nativePlatform property

  1. @override
NativePlatform? get nativePlatform
override

The current native platform, if running on a native platform.

Implementation

@override
NativePlatform? get nativePlatform => NativePlatform.current;