$map method

$Value $map(
  1. E value
)

Implementation

$Value $map(E value) {
  if (value == null) return $null();
  return mapper(value);
}