aSRInputFormatNullableListFromJson function

List<ASRInputFormat>? aSRInputFormatNullableListFromJson(
  1. List? aSRInputFormat, [
  2. List<ASRInputFormat>? defaultValue
])

Implementation

List<enums.ASRInputFormat>? aSRInputFormatNullableListFromJson(
  List? aSRInputFormat, [
  List<enums.ASRInputFormat>? defaultValue,
]) {
  if (aSRInputFormat == null) {
    return defaultValue;
  }

  return aSRInputFormat
      .map((e) => aSRInputFormatFromJson(e.toString()))
      .toList();
}