inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetFromJson function

InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetFromJson(
  1. Object? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet, [
  2. InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet? defaultValue
])

Implementation

enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet
    inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSetFromJson(
  Object? inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet, [
  enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet? defaultValue,
]) {
  return enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsSdiSdiPortNumberControlsColourSpaceColourGetSet
          .swaggerGeneratedUnknown;
}