synthesizeToFile method

Future synthesizeToFile(
  1. String text,
  2. String fileName, [
  3. bool isFullPath = false
])

Future which invokes the platform specific method for synthesizeToFile Android and iOS supported only

Implementation

Future<dynamic> synthesizeToFile(String text, String fileName,
        [bool isFullPath = false]) async =>
    _channel.invokeMethod('synthesizeToFile', <String, dynamic>{
      "text": text,
      "fileName": fileName,
      "isFullPath": isFullPath,
    });