inputPortsDviDviPortNumberControlsColourSpaceColourGetSetNullableListFromJson function

List<InputPortsDviDviPortNumberControlsColourSpaceColourGetSet>? inputPortsDviDviPortNumberControlsColourSpaceColourGetSetNullableListFromJson(
  1. List? inputPortsDviDviPortNumberControlsColourSpaceColourGetSet, [
  2. List<InputPortsDviDviPortNumberControlsColourSpaceColourGetSet>? defaultValue
])

Implementation

List<enums.InputPortsDviDviPortNumberControlsColourSpaceColourGetSet>?
    inputPortsDviDviPortNumberControlsColourSpaceColourGetSetNullableListFromJson(
  List? inputPortsDviDviPortNumberControlsColourSpaceColourGetSet, [
  List<enums.InputPortsDviDviPortNumberControlsColourSpaceColourGetSet>?
      defaultValue,
]) {
  if (inputPortsDviDviPortNumberControlsColourSpaceColourGetSet == null) {
    return defaultValue;
  }

  return inputPortsDviDviPortNumberControlsColourSpaceColourGetSet
      .map((e) =>
          inputPortsDviDviPortNumberControlsColourSpaceColourGetSetFromJson(
              e.toString()))
      .toList();
}