GEOLOCATION property
final
Indicates permission to access geolocation.
Officially Supported Platforms/Implementations:
- Windows WebView2 (Official API - COREWEBVIEW2_PERMISSION_KIND_GEOLOCATION)
Implementation
static final GEOLOCATION = PermissionResourceType._internalMultiPlatform(
'GEOLOCATION',
() {
switch (defaultTargetPlatform) {
case TargetPlatform.windows:
return 3;
default:
break;
}
return null;
},
);