setPitch method
Set pitch of next utterance
Implementation
@override
Future<bool?> setPitch(num pitch) {
try {
if (utterance != null) {
utterance!.pitch = pitch;
return Future<bool>.value(true);
}
} catch (e) {
print('setPitch() error: ${e.toString()}');
}
return Future<bool>.value(false);
}