inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSetFromJson function

InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSetFromJson(
  1. Object? inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet, [
  2. InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet? defaultValue
])

Implementation

enums.InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet
    inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSetFromJson(
  Object? inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet, [
  enums.InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet? defaultValue,
]) {
  return enums.InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsHdmiHdmiPortNumberDynacalWhiteGamutGetSet
          .swaggerGeneratedUnknown;
}