RecoveredRegion constructor

  1. @internal
RecoveredRegion({
  1. required int id,
  2. required String storeName,
  3. required DateTime time,
  4. required int minZoom,
  5. required int maxZoom,
  6. required int start,
  7. required int end,
  8. required LatLngBounds? bounds,
  9. required LatLng? center,
  10. required List<LatLng>? line,
  11. required double? radius,
})

A mixture between BaseRegion and DownloadableRegion containing all the salvaged data from a recovered download

See RootRecovery for information about the recovery system.

The availability of bounds, line, center & radius depend on the represented type of the recovered region. Use toDownloadable to restore a valid DownloadableRegion.

Implementation

@internal
RecoveredRegion({
  required this.id,
  required this.storeName,
  required this.time,
  required this.minZoom,
  required this.maxZoom,
  required this.start,
  required this.end,
  required this.bounds,
  required this.center,
  required this.line,
  required this.radius,
});