PersonaRepository class
Holds all Personas that are available in the game.
DLC Personas added according to the selectedDlcPersonas
in constructor.
Constructors
-
PersonaRepository({List<
DLCPersona> selectedDlcPersonas = const []}) -
Creates a new instance of PersonaRepository
with the
selectedDlcPersonas
Properties
-
getRarePersonas
→ List<
Persona> -
Returns rare
Persona
sno setter - hashCode → int
-
The hash code for this object.
no setterinherited
-
personas
→ List<
Persona> -
Returns a list of all personas.
no setter
- rarePersonae → List
-
Returns a list of all rare personas.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
getPersonaByName(
String name) → Persona -
Returns a Persona by
name
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
searchPersonas(
String searchTerm) → List< Persona> -
Searches for
Persona
s bysearchTerm
-
toString(
) → String -
A string representation of this object.
inherited
-
updatePersonaList(
List< DLCPersona> selectedDlcPersonas) → void -
Updates the personas using the
selectedDlcPersonas
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- allPersonas → Map
-
final
-
dlcPersonas
→ List<
List< String> > -
final
- rarePersonas → List
-
final