isAggregateResultsEnabled static method

bool isAggregateResultsEnabled(
  1. List<SpeechConfigOption>? options
)

Implementation

static bool isAggregateResultsEnabled(List<SpeechConfigOption>? options) {
  if (null == options) return true;
  final any = options.any((option) =>
      option.platform == 'web' &&
      option.name == 'aggregate' &&
      option.value == false);
  return !any;
}