copyWith method

WorldLore copyWith({
  1. WorldLoreType? loreType,
  2. String? everybodyKnows,
  3. String? fewKnow,
  4. String? nobodyKnows,
  5. String? peasantsBelieve,
  6. String? nobilityBelieves,
  7. String? godsPlan,
  8. String? godsFear,
})

Implementation

WorldLore copyWith({
  WorldLoreType? loreType,
  String? everybodyKnows,
  String? fewKnow,
  String? nobodyKnows,
  String? peasantsBelieve,
  String? nobilityBelieves,
  String? godsPlan,
  String? godsFear,
}) {
  return WorldLore(
    loreType: loreType ?? this.loreType,
    everybodyKnows: everybodyKnows ?? this.everybodyKnows,
    fewKnow: fewKnow ?? this.fewKnow,
    nobodyKnows: nobodyKnows ?? this.nobodyKnows,
    peasantsBelieve: peasantsBelieve ?? this.peasantsBelieve,
    nobilityBelieves: nobilityBelieves ?? this.nobilityBelieves,
    godsPlan: godsPlan ?? this.godsPlan,
    godsFear: godsFear ?? this.godsFear,
  );
}