Apply<S, T> constructor Null safety

const Apply<S, T>(
  1. T transform(
    1. S
    ),
  2. Cast<S> first
)

Implementation

const Apply(T Function(S) transform, Cast<S> first)
    : _transform = transform,
      _first = first;