inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetListFromJson function

List<InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet> inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetListFromJson(
  1. List? inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet, [
  2. List<InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet>? defaultValue
])

Implementation

List<enums.InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet>
    inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetListFromJson(
  List? inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet, [
  List<enums.InputPortsSdiSdiPortNumberDynacalBlueGamutGetSet>? defaultValue,
]) {
  if (inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet == null) {
    return defaultValue ?? [];
  }

  return inputPortsSdiSdiPortNumberDynacalBlueGamutGetSet
      .map((e) => inputPortsSdiSdiPortNumberDynacalBlueGamutGetSetFromJson(
          e.toString()))
      .toList();
}