LiteRtLmAsrProcessResult constructor

const LiteRtLmAsrProcessResult({
  1. required LiteRtLmAsrProcessState state,
  2. String confirmedText = '',
  3. String unconfirmedText = '',
  4. bool isFinal = false,
})

Creates a processing result.

Implementation

const LiteRtLmAsrProcessResult({
  required this.state,
  this.confirmedText = '',
  this.unconfirmedText = '',
  this.isFinal = false,
});