onError : (callback) is triggered when an error occurs while fetching location
final void Function(Exception e)? onError;