inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetFromJson function

InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetFromJson(
  1. Object? inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet, [
  2. InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet? defaultValue
])

Implementation

enums.InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet
    inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSetFromJson(
  Object? inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet, [
  enums.InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet? defaultValue,
]) {
  return enums.InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsHdmiHdmiPortNumberDynacalRedGamutGetSet
          .swaggerGeneratedUnknown;
}