NarrativeEngine constructor
NarrativeEngine({
- ValueChanged<
ProcessingStatus> ? onStatusChange, - ValueChanged<
List< ? onSentencesChanged,BaseNarrativeModel> > - ValueChanged<
int> ? onProcessingIndexChanged, - NarrativeInterpreter? interpreter,
Constructor with optional status change and sentences changed callbacks.
Implementation
NarrativeEngine({
this.onStatusChange,
this.onSentencesChanged,
this.onProcessingIndexChanged,
this.interpreter,
});