inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetFromJson function

InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetFromJson(
  1. Object? inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet, [
  2. InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet? defaultValue
])

Implementation

enums.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet
    inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSetFromJson(
  Object? inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet, [
  enums.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet?
      defaultValue,
]) {
  return enums
          .InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet.values
          .firstWhereOrNull((e) =>
              e.value.toString().toLowerCase() ==
              inputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet
                  ?.toString()
                  .toLowerCase()) ??
      defaultValue ??
      enums.InputPortsHdmiHdmiPortNumberControlsQuantisationRangeGetSet
          .swaggerGeneratedUnknown;
}