SpeechRecognitionResultText class

The speech recognition successfully finished

Inheritance
Available extensions
Annotations
  • @immutable

Constructors

SpeechRecognitionResultText({required String text})
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
text → String
text Recognized text
final

Methods

copyWith({String? text}) → SpeechRecognitionResultText

Available on SpeechRecognitionResultText, provided by the SpeechRecognitionResultTextExtensions extension

getConstructor() → String
override
map<TResult extends Object?>({required TResult pending(SpeechRecognitionResultPending value), required TResult text(SpeechRecognitionResultText value), required TResult error(SpeechRecognitionResultError value)}) → TResult

Available on SpeechRecognitionResult, provided by the SpeechRecognitionResultExtensions extension

maybeMap<TResult extends Object?>({TResult pending(SpeechRecognitionResultPending value)?, TResult text(SpeechRecognitionResultText value)?, TResult error(SpeechRecognitionResultError value)?, required TResult orElse()}) → TResult

Available on SpeechRecognitionResult, provided by the SpeechRecognitionResultExtensions extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
override

Constants

constructor → const String