mapToWidgets method

List<Widget> mapToWidgets(
  1. Widget toWidget(
    1. T
    )
)

Implementation

List<Widget> mapToWidgets(Widget Function(T) toWidget) => _value.map((i) => toWidget(i)).toList();