create method

  1. @override
Future<void> create({
  1. required BaiduSpeechBuildType type,
  2. required String appId,
  3. required String appKey,
  4. required String appSecret,
})
override

Implementation

@override
Future<void> create({
  required BaiduSpeechBuildType type,
  required String appId,
  required String appKey,
  required String appSecret,
}) {
  return methodChannel.invokeMethod('create', {
    'type': type.index,
    'appId': appId,
    'appKey': appKey,
    'appSecret': appSecret,
  });
}