inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetNullableListFromJson function

List<InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet>? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetNullableListFromJson(
  1. List? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet, [
  2. List<InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet>? defaultValue
])

Implementation

List<enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet>?
    inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetNullableListFromJson(
  List? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet, [
  List<enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet>?
      defaultValue,
]) {
  if (inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet == null) {
    return defaultValue;
  }

  return inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet
      .map((e) =>
          inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetFromJson(
              e.toString()))
      .toList();
}