voiceToText method Null safety
- {required NIMMessage message,
- String? scene}
Convert audio to text.
Implementation
Future<NIMResult<String>> voiceToText(
{required NIMMessage message, String? scene}) async {
return _platform.voiceToText(message: message);
}