bind<X> method

X? bind<X>(
  1. X? map(
    1. T
    )
)

Implementation

X? bind<X>(X? Function(T) map) => switch (this) {
  null => null,
  final v => map(v),
};