copyWith method
Creates a copy of the current request with new data.
Implementation
LogRequest copyWith({
LogEvent? event,
SLogChannel? channel,
}) =>
LogRequest(
event ?? this.event,
channel: channel ?? this.channel,
);
Creates a copy of the current request with new data.
LogRequest copyWith({
LogEvent? event,
SLogChannel? channel,
}) =>
LogRequest(
event ?? this.event,
channel: channel ?? this.channel,
);