aSRInputFormatListToJson function

List<String> aSRInputFormatListToJson(
  1. List<ASRInputFormat>? aSRInputFormat
)

Implementation

List<String> aSRInputFormatListToJson(
    List<enums.ASRInputFormat>? aSRInputFormat) {
  if (aSRInputFormat == null) {
    return [];
  }

  return aSRInputFormat.map((e) => e.value!).toList();
}