inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetListFromJson function
List<InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet>
inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetListFromJson(
- List? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet, [
- List<
InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet> ? defaultValue
Implementation
List<enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet>
inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetListFromJson(
List? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet, [
List<enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet>?
defaultValue,
]) {
if (inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet == null) {
return defaultValue ?? [];
}
return inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet
.map((e) =>
inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetFromJson(
e.toString()))
.toList();
}