firstBreakpointNamed method
Implementation
ResponsiveBreakpoint? firstBreakpointNamed(String name) {
try {
return breakpointSegments
.firstWhere((element) => element.responsiveBreakpoint.name == name)
.responsiveBreakpoint;
} on StateError {
// ignore: empty_catches
}
return null;
}