map<NewValue> method
Transforms emitted values using mapper before forwarding them to the
reducer or downstream effect handler.
Example:
final strings = Effect.value(1).map((n) => "Number $n");
Implementation
Effect<NewValue> map<NewValue>(NewValue Function(Value value) mapper) =>
MappedEffect<NewValue, Value>(effect: this, mapping: mapper);