map<T> abstract method
T
map<T>(
- T left(
- L
- T right(
- R
Maps the value of this Union using left
if the value is of type L
, or
right
if the value is of type R
.
Implementation
T map<T>(T Function(L) left, T Function(R) right);