EndgameInfo.optional constructor
EndgameInfo.optional(- {EndStatus endState = EndStatus.unset,
- Harmony harmony = Harmony.unset,
- bool harmonyAttempted = false,
- MatchResult matchResult = MatchResult.unset,
- TrapScored trapScored = TrapScored.unset,
- MicScored micScored = MicScored.unset}
)
Implementation
factory EndgameInfo.optional(
{EndStatus endState = EndStatus.unset,
Harmony harmony = Harmony.unset,
bool harmonyAttempted = false,
MatchResult matchResult = MatchResult.unset,
TrapScored trapScored = TrapScored.unset,
MicScored micScored = MicScored.unset}) =>
EndgameInfo(
harmonyAttempted: harmonyAttempted,
matchResult: matchResult,
endState: endState,
harmony: harmony,
trapScored: trapScored,
micScored: micScored,
);