platform property

MapPlatform? get platform

The platform this app is running on, or null on web/desktop.

Used for selecting the correct URL scheme (e.g. comgooglemaps:// on iOS vs geo: on Android) and determining whether scheme URLs are supported at all (null = web/desktop, use universal links only).

Implementation

MapPlatform? get platform => null;