map<V> method
Returns a new BaseBreakpoints with its values mapped to a new type.
Implementation
BaseBreakpoints<V> map<V>(V Function(T?) f) {
return BaseBreakpoints(
breakpoints: breakpoints,
values: values.map<V>((v) => f(v)).toList(),
);
}