ImmersionKitResult constructor

ImmersionKitResult(
  1. {required String text,
  2. required String source,
  3. required String imageUrl,
  4. required String audioUrl,
  5. required List<String> wordList,
  6. required List<int> wordIndices}
)

Define a result with the given parameters.

Implementation

ImmersionKitResult({
  required this.text,
  required this.source,
  required this.imageUrl,
  required this.audioUrl,
  required this.wordList,
  required this.wordIndices,
});