copyWith method

  1. @override
ScreenBreakpoints copyWith({
  1. SBValue? mobile,
  2. SBValue? tablet,
  3. SBValue? desktop,
})

Implementation

@override
ScreenBreakpoints copyWith({
  SBValue? mobile,
  SBValue? tablet,
  SBValue? desktop,
}) =>
    ScreenBreakpoints.values(
      mobile: mobile ?? mobile!,
      tablet: tablet ?? tablet!,
      desktop: desktop ?? desktop!,
    );