GeolocatorPlugin.private constructor

  1. @visibleForTesting
GeolocatorPlugin.private(
  1. GeolocationManager geolocation,
  2. PermissionsManager permissions
)

Creates a GeolocatorPlugin

This constructor is public for testing purposes only. It should not be used outside this class.

Implementation

@visibleForTesting
GeolocatorPlugin.private(
    GeolocationManager geolocation, PermissionsManager permissions)
    : _geolocation = geolocation,
      _permissions = permissions;