copyWith method

Err<T, E> copyWith({
  1. E? error,
})

Implementation

Err<T, E> copyWith({E? error}) => Err<T, E>(error ?? this.error);