extractVariables method

({Set<String> none, Set<String> plural, Set<String> value}) extractVariables()

Implementation

({
  Set<String> value,
  Set<String> plural,
  Set<String> none,
}) extractVariables() {
  final valueVariables = _extractVariables(value.value);
  final pluralVariables = _extractVariables(value.plural ?? "");
  final noneVariables = _extractVariables(value.none ?? "");

  return (
    value: valueVariables,
    plural: pluralVariables,
    none: noneVariables
  );
}