inputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSetFromJson function

InputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet inputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSetFromJson(
  1. Object? inputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet, [
  2. InputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet? defaultValue
])

Implementation

enums.InputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet
    inputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSetFromJson(
  Object? inputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet, [
  enums.InputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet?
      defaultValue,
]) {
  return enums
          .InputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsHdmiHdmiPortNumberControlsColourSpaceColourGetSet
          .swaggerGeneratedUnknown;
}