copyWith method

GpsState copyWith({
  1. bool? isGpsEnabled,
  2. bool? isGpsPermissionGranted,
})

Implementation

GpsState copyWith({
  bool? isGpsEnabled,
  bool? isGpsPermissionGranted,
}) =>
    GpsState(
        isGpsEnabled: isGpsEnabled ?? this.isGpsEnabled,
        isGpsPermissionGranted:
            isGpsPermissionGranted ?? this.isGpsPermissionGranted);