copyWith method
ZIOContext<R>
copyWith({
- Runtime? runtime,
- R? env,
- DeferredIO<
Never> ? signal, - LayerContext? layers,
- IMap<
Symbol, IMap< ? annotations,String, dynamic> >
Implementation
ZIOContext<R> copyWith({
Runtime? runtime,
R? env,
DeferredIO<Never>? signal,
LayerContext? layers,
IMap<Symbol, IMap<String, dynamic>>? annotations,
}) =>
ZIOContext._(
runtime: runtime ?? this.runtime,
env: env ?? this.env,
signal: signal ?? this.signal,
layers: layers ?? this.layers,
annotations: annotations ?? this._annotations,
);