SpeechResult.fromJson(Map<String, dynamic> json) { result = json['result']; isPartial = json['isPartial']; }