copyWith method
Returns a copy of this object with its field values replaced by the ones provided to this method.
copyOriginalValues
is true if you want to maintain the original object's
initial values. This is useful if you plan on using this object in a PUT
request.
Implementation
EntertainmentConfigurationStreamProxy copyWith({
String? mode,
Relative? node,
bool copyOriginalValues = true,
}) {
return EntertainmentConfigurationStreamProxy(
mode: mode ?? this.mode,
node: node ?? this.node.copyWith(copyOriginalValues: copyOriginalValues),
);
}