WorldLore class
A class that represents the lore of the world
Constructors
- WorldLore({required WorldLoreType loreType, required String everybodyKnows, required String fewKnow, required String nobodyKnows, required String peasantsBelieve, required String nobilityBelieves, required String godsPlan, required String godsFear})
-
const
- WorldLore.fromJson(String source)
-
factory
-
WorldLore.fromMap(Map<
String, dynamic> map) -
factory
Properties
- everybodyKnows → String
-
Something everybody in the world knows
final
- fewKnow → String
-
Something only few people in the world know
final
- godsFear → String
-
Somethings the gods are fearing
final
- godsPlan → String
-
Somethings the gods are planning
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- loreType → WorldLoreType
-
The type of this world lore
final
- nobilityBelieves → String
-
Something the nobility in the world believes
final
- nobodyKnows → String
-
Something that nobody in the world knows
final
- peasantsBelieve → String
-
Something all peasants in the world believe
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{WorldLoreType? loreType, String? everybodyKnows, String? fewKnow, String? nobodyKnows, String? peasantsBelieve, String? nobilityBelieves, String? godsPlan, String? godsFear}) → WorldLore -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
covariant WorldLore other) → bool -
The equality operator.
override