resolve method

FCCDeviceType resolve(
  1. double width
)

Implementation

FCCDeviceType resolve(double width) {
  if (width <= mobileMaxWidth) return FCCDeviceType.mobile;
  if (width <= tabletMaxWidth) return FCCDeviceType.tablet;
  return FCCDeviceType.desktop;
}