InvasionFaction class
A faction and reward associated with a given invasion.
- Annotations
-
- @JsonSerializable.new()
Constructors
- InvasionFaction({required Reward? reward, required String faction, required String factionKey})
-
A faction and reward associated with a given invasion.
const
-
InvasionFaction.fromJson(Map<
String, dynamic> json) -
Creates an InvasionFaction from a json map.
factory
Properties
- faction → String
-
The faction name translated.
final
- factionKey → String
-
The faction name.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- reward → Reward?
-
Reward awarded for siding with the faction.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Creates a json map from an InvasionFaction.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited