platform property
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
@override
MapPlatform? get platform => switch (defaultTargetPlatform) {
TargetPlatform.iOS => .ios,
TargetPlatform.android => .android,
_ => null,
};