fromJson static method

SpeechRecognitionResultPending? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static SpeechRecognitionResultPending? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return SpeechRecognitionResultPending(
    partialText: (json['partial_text'] as String?) ?? '',
  );
}