GEOLOCATION property

PermissionResourceType GEOLOCATION
final

Indicates permission to access geolocation.

Officially Supported Platforms/Implementations:

Implementation

static final GEOLOCATION = PermissionResourceType._internalMultiPlatform(
  'GEOLOCATION',
  () {
    switch (defaultTargetPlatform) {
      case TargetPlatform.windows:
        return 3;
      default:
        break;
    }
    return null;
  },
);