setUseLocation method

void setUseLocation({
  1. required bool useLocation,
})

Use setUseLocation to use location updates in the workflow

Implementation

void setUseLocation({required bool useLocation}) {
  this.useLocation = useLocation;
}