copyWithEx method

IAConfiguration copyWithEx({
  1. String? apiKey,
  2. String? endpoint,
  3. double? minChangeMeters,
  4. double? minIntervalSeconds,
  5. IAPositioningMode? positioningMode,
  6. int? floorLock,
  7. bool? indoorLock,
})

Implementation

IAConfiguration copyWithEx({
  String? apiKey,
  String? endpoint,
  double? minChangeMeters,
  double? minIntervalSeconds,
  IAPositioningMode? positioningMode,
  int? floorLock, // this is always applied
  bool? indoorLock,
}) =>
    IAConfiguration(
      apiKey: apiKey ?? this.apiKey,
      endpoint: endpoint ?? this.endpoint,
      minChangeMeters: minChangeMeters ?? this.minChangeMeters,
      minIntervalSeconds: minIntervalSeconds ?? this.minIntervalSeconds,
      positioningMode: positioningMode ?? this.positioningMode,
      floorLock: floorLock,
      indoorLock: indoorLock ?? this.indoorLock,
    );