copyWith method

Alignment copyWith({
  1. EthicalAlignment? ethical,
  2. MoralAlignment? moral,
})

Implementation

Alignment copyWith({
  EthicalAlignment? ethical,
  MoralAlignment? moral,
}) {
  return Alignment(
    ethical: ethical ?? this.ethical,
    moral: moral ?? this.moral,
  );
}