getTone method
Get Tone.
ID: b2e8ba03.
Implementation
Future<Result<AicomposeTonesBase>> getTone({
required InputAiComposeToneBase tone,
}) async {
// Preparing the request.
final request = AicomposeGetTone(tone: tone);
// Invoke and wait for response.
final response = await _c.invoke(request);
// Return the result.
return response._to<AicomposeTonesBase>();
}