copyWith method

Ok<T, E> copyWith({
  1. T? value,
})

Implementation

Ok<T, E> copyWith({T? value}) => Ok<T, E>(value ?? this.value);