applyPresetAsync method
Dispatches the same work, returning a handle instead of an answer.
Implementation
Future<Operation> applyPresetAsync(
String nodeId, {
String? presetId,
Preset? preset,
}) async => Operation.fromJson(
await _object(
await post('/presets/apply', {
..._applyBody(nodeId, presetId, preset),
'async': true,
}),
),
);