FirebaseModelDownloadConditions constructor

FirebaseModelDownloadConditions({
  1. bool iosAllowsCellularAccess = true,
  2. bool iosAllowsBackgroundDownloading = false,
  3. bool androidChargingRequired = false,
  4. bool androidWifiRequired = false,
  5. bool androidDeviceIdleRequired = false,
})

Creates a new DownloadConditions instance.

Implementation

FirebaseModelDownloadConditions({
  this.iosAllowsCellularAccess = true,
  this.iosAllowsBackgroundDownloading = false,
  this.androidChargingRequired = false,
  this.androidWifiRequired = false,
  this.androidDeviceIdleRequired = false,
});