inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSetFromJson function

InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSetFromJson(
  1. Object? inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet, [
  2. InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet? defaultValue
])

Implementation

enums.InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet
    inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSetFromJson(
  Object? inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet, [
  enums.InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet? defaultValue,
]) {
  return enums.InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsHdmiHdmiPortNumberDynacalBlueGamutGetSet
          .swaggerGeneratedUnknown;
}