inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetNullableFromJson function
InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet?
inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetNullableFromJson(
- Object? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet, [
- InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet? defaultValue
Implementation
enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet?
inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetNullableFromJson(
Object? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet, [
enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet? defaultValue,
]) {
if (inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet == null) {
return null;
}
return enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet.values
.firstWhereOrNull((e) =>
e.value ==
inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet) ??
defaultValue;
}