lastError property Null safety

SpeechRecognitionError? lastError

The last error received or null if none, see initialize to register an optional listener to be notified of errors.

Implementation

SpeechRecognitionError? get lastError => _lastError;