processAction method

  1. @override
TreeReference? processAction(
  1. FormDef form,
  2. TreeReference? context
)
override

Performs the action in form, within context (a repeat instance or null for top level); returns the reference it set, if any.

Implementation

@override
TreeReference? processAction(FormDef form, TreeReference? context) {
  final target = context == null
      ? targetReference
      : targetReference.contextualize(context)!;
  form.recordAudioListener?.call(target, quality);
  return target;
}