MagicStarterTeamResolverConfig class

Holds team-related callbacks so plugin UI can render team data without depending on app-specific models.

Constructors

MagicStarterTeamResolverConfig({required MagicStarterTeam? currentTeam(), required List<MagicStarterTeam> allTeams(), required Future<void> onSwitch(dynamic teamId)})
const

Properties

allTeams → List<MagicStarterTeam> Function()
final
currentTeam → MagicStarterTeam? Function()
final
hashCode → int
The hash code for this object.
no setterinherited
onSwitch → Future<void> Function(dynamic teamId)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited