DeviceValue<T> constructor

const DeviceValue<T>({
  1. T? web,
  2. T? phone,
  3. T? tablet,
  4. T? desktop,
  5. T? tv,
  6. T? watch,
  7. T? fallback,
})

Implementation

const DeviceValue({
  T? web,
  T? phone,
  T? tablet,
  T? desktop,
  T? tv,
  T? watch,
  T? fallback,
})  : _web = web,
      _tablet = tablet,
      _phone = phone,
      _tv = tv,
      _watch = watch,
      _desktop = desktop,
      _fallback = fallback;