SpeechRecognitionResultText.fromJson constructor

SpeechRecognitionResultText.fromJson(
  1. Map<String, dynamic> json
)

Parse from a json

Implementation

factory SpeechRecognitionResultText.fromJson(Map<String, dynamic> json) =>
    SpeechRecognitionResultText(
      text: json['text'],
    );