DialogueEvent constructor
const
DialogueEvent({
- required DialogueEventType type,
- String? graphId,
- String? nodeTitle,
- DialogueLine? line,
- List<
DialogueChoice> ? choices, - int? choiceIndex,
- String? commandName,
- List<
String> ? commandArgs,
An event of type; fill in the fields that type says apply, leave
the rest null.
Implementation
const DialogueEvent({
required this.type,
this.graphId,
this.nodeTitle,
this.line,
this.choices,
this.choiceIndex,
this.commandName,
this.commandArgs,
});