map<R> abstract method

ValidationResult<R, E> map<R>(
  1. R transform(
    1. T value
    )
)

Maps the value if valid, returns same invalid result otherwise.

Implementation

ValidationResult<R, E> map<R>(R Function(T value) transform);