fromJson static method
Inherited by: SpeechRecognitionResultError SpeechRecognitionResultPending SpeechRecognitionResultText
Implementation
static SpeechRecognitionResultError? fromJson(Map<String, dynamic>? json) {
if (json == null) {
return null;
}
return SpeechRecognitionResultError(
error: TdError.fromJson(tdMapFromJson(json['error'])),
);
}