inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSetFromJson function

InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSetFromJson(
  1. Object? inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet, [
  2. InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet? defaultValue
])

Implementation

enums.InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet
    inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSetFromJson(
  Object? inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet, [
  enums.InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet? defaultValue,
]) {
  return enums.InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsHdmiHdmiPortNumberDynacalGreenGamutGetSet
          .swaggerGeneratedUnknown;
}