copyWith method

ClusterOptions copyWith({
  1. Map<String, AttributeValue>? attributes,
  2. Optional<Object?>? userData,
})

Implementation

ClusterOptions copyWith({
  core.Map<String, AttributeValue>? attributes,
  Optional<Object?>? userData
}) {
  return ClusterOptions(
    attributes: attributes ?? this.attributes,
    userData: userData != null ? userData.value : this.userData
  );
}