getLocationServicesStatusFromIndex function

LocationServicesStatus getLocationServicesStatusFromIndex(
  1. int? index
)

Get LocationServicesStatus from index.

Implementation

LocationServicesStatus getLocationServicesStatusFromIndex(int? index) =>
    LocationServicesStatus
        .values[index ?? LocationServicesStatus.disabled.index];