inputPortsSdiSdiPortNumberDynacalRedGamutGetSetListFromJson function

List<InputPortsSdiSdiPortNumberDynacalRedGamutGetSet> inputPortsSdiSdiPortNumberDynacalRedGamutGetSetListFromJson(
  1. List? inputPortsSdiSdiPortNumberDynacalRedGamutGetSet, [
  2. List<InputPortsSdiSdiPortNumberDynacalRedGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsSdiSdiPortNumberDynacalRedGamutGetSet>
    inputPortsSdiSdiPortNumberDynacalRedGamutGetSetListFromJson(
  List? inputPortsSdiSdiPortNumberDynacalRedGamutGetSet, [
  List<enums.InputPortsSdiSdiPortNumberDynacalRedGamutGetSet>? defaultValue,
]) {
  if (inputPortsSdiSdiPortNumberDynacalRedGamutGetSet == null) {
    return defaultValue ?? [];
  }

  return inputPortsSdiSdiPortNumberDynacalRedGamutGetSet
      .map((e) =>
          inputPortsSdiSdiPortNumberDynacalRedGamutGetSetFromJson(e.toString()))
      .toList();
}