factory method

T factory(
  1. T value
)

Implementation

T factory(T value) => _factory(value);