LayzDeviceValue<T> constructor

LayzDeviceValue<T>({
  1. ValueGetter<T>? web,
  2. ValueGetter<T>? phone,
  3. ValueGetter<T>? tablet,
  4. ValueGetter<T>? desktop,
  5. ValueGetter<T>? fallback,
})

Implementation

LayzDeviceValue({
  ValueGetter<T>? web,
  ValueGetter<T>? phone,
  ValueGetter<T>? tablet,
  ValueGetter<T>? desktop,
  ValueGetter<T>? fallback,
}) {
  values = DeviceValue(
    desktop: desktop,
    phone: phone,
    tablet: tablet,
    web: web,
    fallback: fallback,
  );
}