copyWith method
Implementation
AgentNotification copyWith({
Object? method = _acpCopyWithAbsent,
Object? params = _acpCopyWithAbsent,
}) => AgentNotification(
method: identical(method, _acpCopyWithAbsent)
? this.method
: method as String,
params: identical(params, _acpCopyWithAbsent)
? this.params
: params as Object?,
);