let<T> method

T? let<T>(
  1. T transformation(
    1. Widget
    )
)

Implementation

T? let<T>(T Function(Widget) transformation) {
  final widget = this;
  return widget == null ? null : transformation(widget);
}